home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
dev
/
c
/
cxref_1_4a.lha
/
parse-lex.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-12-07
|
117KB
|
3,552 lines
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $
*/
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#include <stdio.h>
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
#ifndef __cplusplus
#define __cplusplus
#endif
#endif
#ifdef __cplusplus
#include <stdlib.h>
#include <unistd.h>
/* Use prototypes in function declarations. */
#define YY_USE_PROTOS
/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST
#else /* ! __cplusplus */
#if __STDC__
#define YY_USE_PROTOS
#define YY_USE_CONST
#endif /* __STDC__ */
#endif /* ! __cplusplus */
#ifdef __TURBOC__
#pragma warn -rch
#pragma warn -use
#include <io.h>
#include <stdlib.h>
#define YY_USE_CONST
#define YY_USE_PROTOS
#endif
#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif
#ifdef YY_USE_PROTOS
#define YY_PROTO(proto) proto
#else
#define YY_PROTO(proto) ()
#endif
/* Returned upon end-of-file. */
#define YY_NULL 0
/* Promotes a possibly negative, possibly signed char to an unsigned
* integer for use as an array index. If the signed char is negative,
* we want to instead treat it as an 8-bit unsigned char, hence the
* double cast.
*/
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
/* Enter a start condition. This macro really ought to take a parameter,
* but we do it the disgusting crufty way forced on us by the ()-less
* definition of BEGIN.
*/
#define BEGIN yy_start = 1 + 2 *
/* Translate the current start state into a value that can be later handed
* to BEGIN to return to the state. The YYSTATE alias is for lex
* compatibility.
*/
#define YY_START ((yy_start - 1) / 2)
#define YYSTATE YY_START
/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
/* Special action meaning "start processing a new file". */
#define YY_NEW_FILE yyrestart( yyin )
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
#define YY_BUF_SIZE 16384
typedef struct yy_buffer_state *YY_BUFFER_STATE;
extern int yyleng;
extern FILE *yyin, *yyout;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
/* The funky do-while in the following #define is used to turn the definition
* int a single C statement (which needs a semi-colon terminator). This
* avoids problems with code like:
*
* if ( condition_holds )
* yyless( 5 );
* else
* do_something_else();
*
* Prior to using the do-while the compiler would get upset at the
* "else" because it interpreted the "if" statement as being all
* done when it reached the ';' after the yyless() call.
*/
/* Return all but the first 'n' matched characters back to the input stream. */
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
*yy_cp = yy_hold_char; \
YY_RESTORE_YY_MORE_OFFSET \
yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define unput(c) yyunput( c, yytext_ptr )
/* The following is because we cannot portably get our hands on size_t
* (without autoconf's help, which isn't available because we want
* flex-generated scanners to compile on their own).
*/
typedef unsigned int yy_size_t;
struct yy_buffer_state
{
FILE *yy_input_file;
char *yy_ch_buf; /* input buffer */
char *yy_buf_pos; /* current position in input buffer */
/* Size of input buffer in bytes, not including room for EOB
* characters.
*/
yy_size_t yy_buf_size;
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
int yy_n_chars;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
* delete it.
*/
int yy_is_our_buffer;
/* Whether this is an "interactive" input source; if so, and
* if we're using stdio for input, then we want to use getc()
* instead of fread(), to make sure we stop fetching input after
* each newline.
*/
int yy_is_interactive;
/* Whether we're considered to be at the beginning of a line.
* If so, '^' rules will be active on the next match, otherwise
* not.
*/
int yy_at_bol;
/* Whether to try to fill the input buffer when we reach the
* end of it.
*/
int yy_fill_buffer;
int yy_buffer_status;
#define YY_BUFFER_NEW 0
#define YY_BUFFER_NORMAL 1
/* When an EOF's been seen but there's still some text to process
* then we mark the buffer as YY_EOF_PENDING, to indicate that we
* shouldn't try reading from the input source any more. We might
* still have a bunch of tokens to match, though, because of
* possible backing-up.
*
* When we actually see the EOF, we change the status to "new"
* (via yyrestart()), so that the user can continue scanning by
* just pointing yyin at a new input file.
*/
#define YY_BUFFER_EOF_PENDING 2
};
static YY_BUFFER_STATE yy_current_buffer = 0;
/* We provide macros for accessing buffer states in case in the
* future we want to put the buffer states in a more general
* "scanner state".
*/
#define YY_CURRENT_BUFFER yy_current_buffer
/* yy_hold_char holds the character lost when yytext is formed. */
static char yy_hold_char;
static int yy_n_chars; /* number of characters read into yy_ch_buf */
int yyleng;
/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
static int yy_init = 1; /* whether we need to initialize */
static int yy_start = 0; /* start state number */
/* Flag which is used to allow yywrap()'s to do buffer switches
* instead of setting up a fresh yyin. A bit of a hack ...
*/
static int yy_did_buffer_switch_on_eof;
void yyrestart YY_PROTO(( FILE *input_file ));
void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
void yy_load_buffer_state YY_PROTO(( void ));
YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
static void yy_flex_free YY_PROTO(( void * ));
#define yy_new_buffer yy_create_buffer
#define yy_set_interactive(is_interactive) \
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_is_interactive = is_interactive; \
}
#define yy_set_bol(at_bol) \
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_at_bol = at_bol; \
}
#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
#define YY_USES_REJECT
typedef unsigned char YY_CHAR;
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
typedef int yy_state_type;
extern char *yytext;
#define yytext_ptr yytext
static yy_state_type yy_get_previous_state YY_PROTO(( void ));
static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
static int yy_get_next_buffer YY_PROTO(( void ));
static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
/* Done after the current pattern has been matched and before the
* corresponding action - sets up yytext.
*/
#define YY_DO_BEFORE_ACTION \
yytext_ptr = yy_bp; \
yyleng = (int) (yy_cp - yy_bp); \
yy_hold_char = *yy_cp; \
*yy_cp = '\0'; \
yy_c_buf_p = yy_cp;
#define YY_NUM_RULES 229
#define YY_END_OF_BUFFER 230
static yyconst short int yy_acclist[858] =
{ 0,
230, 228, 229, 227, 229, 228, 229, 204, 228, 229,
228, 229, 35, 228, 229, 210, 228, 229, 203, 228,
229, 228, 229, 197, 228, 229, 199, 228, 229, 208,
228, 229, 207, 228, 229, 194, 228, 229, 206, 228,
229, 202, 228, 229, 209, 228, 229, 219, 228, 229,
219, 228, 229, 195, 228, 229, 188, 228, 229, 211,
228, 229, 196, 228, 229, 212, 228, 229, 215, 228,
229, 216, 228, 229, 216, 228, 229, 200, 228, 229,
201, 228, 229, 213, 228, 229, 216, 228, 229, 216,
228, 229, 216, 228, 229, 216, 228, 229, 216, 228,
229, 216, 228, 229, 216, 228, 229, 216, 228, 229,
216, 228, 229, 216, 228, 229, 216, 228, 229, 216,
228, 229, 216, 228, 229, 216, 228, 229, 216, 228,
229, 216, 228, 229, 189, 228, 229, 214, 228, 229,
192, 228, 229, 205, 228, 229, 15, 229, 15, 229,
14, 15, 229, 15, 229, 11, 229, 12, 229, 21,
229, 20, 229, 21, 229, 21, 229, 21, 229, 27,
28, 229, 27, 28, 229, 25, 229, 28, 229, 28,
229, 28, 229, 19, 229, 18, 19, 229, 19, 229,
16, 229, 17, 229, 229, 24, 229, 229, 32, 33,
229, 32, 33, 229, 34, 229, 33, 229, 40, 229,
42, 229, 40, 229, 40, 229, 40, 229, 229, 229,
229, 39, 229, 39, 229, 39, 229, 69, 229, 71,
229, 69, 229, 69, 229, 69, 229, 69, 229, 229,
229, 229, 74, 229, 229, 229, 45, 229, 229, 43,
229, 229, 48, 229, 47, 229, 229, 46, 229, 48,
229, 48, 229, 65, 229, 67, 229, 65, 229, 65,
229, 65, 229, 65, 229, 65, 229, 59, 65, 229,
59, 65, 229, 56, 65, 229, 65, 229, 53, 229,
55, 229, 52, 229, 229, 50, 229, 229, 83, 229,
84, 229, 87, 229, 86, 229, 88, 229, 91, 229,
90, 229, 92, 229, 227, 186, 225, 35, 172, 181,
173, 170, 178, 168, 179, 169, 180, 223, 1, 171,
224, 218, 219, 219, 219, 177, 183, 185, 184, 176,
216, 174, 216, 216, 216, 216, 216, 216, 216, 216,
139, 216, 216, 216, 216, 216, 216, 216, 147, 216,
216, 216, 216, 216, 216, 216, 216, 216, 216, 216,
216, 175, 182, 14, 11, 13, 12, 20, 23, 27,
27,16410, 25, 31, 18, 16, 17, 24, 32, 32,
34, 42, 3, 41, 2, 36, 39, 39, 39, 71,
5, 70, 9, 74, 73, 10, 45, 4, 43, 44,
47, 6, 49, 67, 64, 63, 61, 8, 62, 58,
59, 59, 59, 56, 66, 53, 7, 50, 54, 83,
87, 91, 220, 198, 193, 165, 223, 223, 224, 224,
218, 219, 222, 217, 187, 167, 166, 226, 216, 216,
216, 216, 216, 216, 216, 216, 216, 216, 216, 216,
216, 216, 81, 216, 216, 216, 216, 216, 216, 216,
216, 216, 216, 216, 216, 145, 216, 216, 216, 148,
216, 216, 216, 216, 216, 216, 216, 216, 216, 216,
216, 216, 216, 216, 216, 216, 22, 8218, 29, 30,
39, 39, 68, 72, 64, 63, 61, 61, 62, 62,
58, 59, 60, 57, 223, 223, 224, 224, 222, 217,
221, 94, 216, 95, 216, 96, 216, 97, 216, 98,
216, 99, 216, 100, 216, 101, 216, 216, 216, 216,
216, 216, 216, 106, 216, 107, 216, 108, 216, 109,
216, 110, 216, 111, 216, 112, 216, 113, 216, 216,
216, 216, 216, 216, 216, 216, 216, 216, 216, 216,
216, 216, 216, 132, 216, 216, 134, 216, 135, 216,
216, 216, 216, 216, 141, 216, 142, 216, 216, 216,
146, 216, 216, 150, 216, 216, 216, 216, 216, 216,
216, 216, 216, 216, 216, 216, 162, 216, 216, 216,
191, 190, 39, 39, 61, 61, 62, 62, 60, 57,
51, 223, 224, 216, 216, 104, 216, 216, 216, 216,
216, 114, 216, 115, 216, 116, 216, 117, 216, 118,
216, 119, 216, 120, 216, 121, 216, 122, 216, 216,
216, 216, 216, 216, 127, 216, 216, 216, 216, 216,
216, 216, 216, 216, 133, 216, 136, 216, 216, 216,
216, 216, 144, 216, 216, 216, 216, 153, 216, 216,
216, 216, 216, 216, 216, 160, 216, 216, 216, 164,
216, 39, 39, 61, 62, 216, 216, 216, 216, 105,
216, 216, 216, 216, 216, 216, 125, 216, 216, 216,
216, 216, 216, 216, 216, 216, 216, 216, 216, 140,
216, 143, 216, 149, 216, 216, 152, 216, 154, 216,
155, 216, 156, 216, 157, 216, 158, 216, 216, 216,
216, 39, 39, 216, 216, 216, 79, 216, 216, 216,
216, 216, 216, 216, 216, 216, 216, 216, 216, 216,
216, 216, 138, 216, 216, 159, 216, 216, 216, 37,
39, 102, 216, 216, 216, 216, 216, 216, 123, 216,
216, 216, 126, 216, 216, 129, 216, 76, 216, 216,
216, 216, 216, 216, 137, 216, 151, 216, 161, 216,
163, 216, 38, 103, 216, 216, 216, 79, 216, 216,
216, 216, 82, 216, 128, 216, 216, 216, 131, 216,
216, 216, 216, 216, 216, 216, 80, 216, 216, 76,
216, 130, 216, 89, 216, 77, 216, 78, 216, 75,
216, 216, 216, 124, 216, 216, 216, 216, 216, 77,
216, 78, 216, 85, 216, 93, 216
} ;
static yyconst short int yy_accept[712] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 4, 6, 8, 11, 13, 16, 19, 22,
24, 27, 30, 33, 36, 39, 42, 45, 48, 51,
54, 57, 60, 63, 66, 69, 72, 75, 78, 81,
84, 87, 90, 93, 96, 99, 102, 105, 108, 111,
114, 117, 120, 123, 126, 129, 132, 135, 138, 141,
144, 147, 149, 151, 154, 156, 158, 160, 162, 164,
166, 168, 170, 173, 176, 178, 180, 182, 184, 186,
189, 191, 193, 195, 196, 198, 199, 202, 205, 207,
209, 211, 213, 215, 217, 219, 220, 221, 222, 224,
226, 228, 230, 232, 234, 236, 238, 240, 241, 242,
243, 245, 246, 247, 249, 250, 252, 253, 255, 257,
258, 260, 262, 264, 266, 268, 270, 272, 274, 276,
278, 281, 284, 287, 289, 291, 293, 295, 296, 298,
299, 301, 303, 305, 307, 309, 311, 313, 315, 316,
316, 317, 317, 318, 318, 319, 320, 321, 322, 322,
322, 322, 322, 323, 324, 325, 325, 325, 326, 327,
328, 328, 329, 330, 331, 332, 334, 334, 335, 335,
336, 336, 336, 337, 338, 339, 340, 341, 342, 342,
342, 343, 344, 345, 346, 347, 348, 349, 350, 351,
353, 354, 355, 356, 357, 358, 359, 361, 362, 363,
364, 365, 366, 367, 368, 369, 370, 371, 372, 373,
374, 374, 374, 374, 374, 375, 375, 376, 377, 378,
379, 379, 379, 379, 380, 381, 382, 382, 382, 382,
383, 384, 384, 384, 385, 385, 386, 386, 387, 388,
388, 389, 389, 390, 391, 392, 392, 393, 393, 394,
395, 395, 396, 397, 397, 398, 399, 400, 401, 401,
401, 402, 403, 403, 403, 404, 404, 405, 405, 406,
407, 408, 409, 410, 411, 411, 412, 412, 413, 414,
414, 415, 415, 415, 416, 416, 416, 417, 417, 418,
419, 420, 422, 422, 423, 423, 424, 425, 426, 426,
427, 428, 428, 429, 430, 430, 431, 432, 433, 434,
435, 436, 437, 437, 438, 440, 440, 441, 443, 443,
444, 445, 446, 447, 448, 448, 449, 449, 449, 449,
450, 451, 452, 453, 454, 455, 456, 457, 458, 459,
460, 461, 462, 463, 465, 466, 467, 468, 469, 470,
471, 472, 473, 474, 475, 476, 478, 479, 480, 482,
483, 484, 485, 486, 487, 488, 489, 490, 491, 492,
493, 494, 495, 496, 497, 497, 497, 497, 497, 498,
499, 499, 500, 501, 502, 503, 504, 505, 505, 506,
506, 506, 507, 507, 507, 508, 510, 510, 511, 513,
513, 514, 515, 515, 515, 516, 516, 518, 518, 519,
520, 521, 522, 524, 526, 528, 530, 532, 534, 536,
538, 539, 540, 541, 542, 543, 544, 546, 548, 550,
552, 554, 556, 558, 560, 561, 562, 563, 564, 565,
566, 567, 568, 569, 570, 571, 572, 573, 574, 576,
577, 579, 581, 582, 583, 584, 585, 587, 589, 590,
591, 593, 594, 596, 597, 598, 599, 600, 601, 602,
603, 604, 605, 606, 607, 609, 610, 611, 612, 613,
614, 615, 615, 616, 616, 618, 618, 619, 620, 621,
622, 622, 624, 625, 626, 628, 629, 630, 631, 632,
634, 636, 638, 640, 642, 644, 646, 648, 650, 651,
652, 653, 654, 655, 657, 658, 659, 660, 661, 662,
663, 664, 665, 667, 669, 670, 671, 672, 673, 675,
676, 677, 678, 680, 681, 682, 683, 684, 685, 686,
688, 689, 690, 692, 693, 694, 694, 696, 697, 698,
699, 700, 702, 703, 704, 705, 706, 707, 709, 710,
711, 712, 713, 714, 715, 716, 717, 718, 719, 720,
722, 724, 726, 727, 729, 731, 733, 735, 737, 739,
740, 741, 742, 743, 744, 745, 746, 747, 749, 750,
751, 752, 753, 754, 755, 756, 757, 758, 759, 760,
761, 762, 763, 765, 766, 768, 769, 770, 771, 772,
774, 775, 776, 777, 778, 779, 781, 782, 783, 785,
786, 788, 790, 791, 792, 793, 794, 795, 797, 799,
801, 803, 804, 806, 807, 808, 810, 811, 812, 813,
815, 817, 818, 819, 821, 822, 823, 824, 825, 826,
827, 829, 830, 832, 834, 836, 838, 840, 842, 843,
844, 846, 847, 848, 849, 850, 852, 854, 856, 858,
858
} ;
static yyconst int yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 5, 6, 7, 1, 8, 9, 10, 11,
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 27, 28, 29, 30,
31, 32, 33, 1, 34, 34, 34, 34, 35, 36,
37, 37, 37, 37, 37, 38, 37, 37, 37, 37,
37, 37, 37, 37, 39, 37, 37, 40, 37, 37,
41, 42, 43, 44, 45, 1, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
60, 61, 55, 62, 63, 64, 65, 66, 67, 68,
69, 70, 71, 72, 73, 74, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
static yyconst int yy_meta[75] =
{ 0,
1, 2, 3, 4, 1, 5, 1, 1, 1, 6,
7, 7, 8, 8, 1, 1, 9, 1, 10, 10,
10, 10, 10, 10, 10, 10, 10, 1, 11, 1,
1, 12, 1, 13, 14, 15, 16, 17, 18, 16,
1, 1, 1, 1, 16, 19, 19, 19, 19, 20,
21, 22, 22, 22, 22, 22, 23, 22, 22, 22,
22, 22, 22, 22, 24, 22, 22, 22, 22, 22,
1, 1, 1, 1
} ;
static yyconst short int yy_base[779] =
{ 0,
0, 0, 73, 76, 78, 80, 93, 96, 98, 100,
112, 114, 117, 120, 122, 124, 166, 0, 238, 242,
279, 0, 127, 132, 348, 0, 246, 248, 418, 0,
492, 0, 2630, 2629, 132, 135, 131, 133, 141, 143,
2657, 2660, 2660, 153, 2625, 99, 2652, 2621, 234, 2609,
2660, 130, 2619, 239, 245, 242, 290, 258, 550, 602,
2660, 259, 128, 2617, 129, 2660, 0, 269, 2660, 2660,
2615, 2600, 100, 2582, 209, 231, 294, 28, 2583, 227,
2580, 2588, 229, 2568, 2577, 2574, 2579, 2660, 223, 279,
2660, 2660, 350, 2660, 315, 354, 356, 2660, 2660, 317,
347, 309, 0, 378, 566, 370, 274, 362, 2660, 2660,
374, 2618, 2616, 578, 2660, 580, 0, 589, 2660, 583,
2660, 2660, 592, 584, 595, 2660, 588, 649, 0, 2579,
2567, 2660, 2660, 600, 0, 592, 605, 0, 598, 610,
2660, 627, 621, 2622, 629, 0, 629, 2660, 2660, 632,
2660, 630, 641, 2660, 2660, 646, 611, 347, 658, 642,
669, 721, 0, 653, 2621, 2660, 2660, 645, 2605, 658,
0, 2660, 0, 2660, 2660, 0, 2660, 2660, 2660, 661,
2660, 660, 2660, 2617, 2616, 2660, 2660, 2660, 687, 695,
353, 688, 2660, 2660, 2660, 685, 697, 2660, 2660, 2660,
2600, 682, 2660, 2660, 715, 723, 773, 692, 0, 0,
698, 709, 2585, 2660, 2660, 2660, 2584, 0, 693, 2570,
2660, 755, 2552, 2545, 2558, 2543, 2558, 2544, 2551, 2536,
2535, 2531, 2531, 2534, 2530, 2526, 0, 657, 2530, 659,
2528, 684, 666, 2533, 2523, 701, 713, 2528, 2660, 2660,
750, 756, 711, 809, 2660, 772, 811, 2660, 771, 2660,
778, 817, 794, 2660, 0, 824, 2568, 819, 826, 839,
832, 844, 797, 2660, 2562, 2660, 846, 2565, 2562, 848,
2660, 852, 0, 855, 2660, 858, 2660, 860, 2660, 2660,
862, 2660, 2573, 851, 0, 2523, 2525, 2660, 864, 614,
2660, 2660, 876, 2564, 2660, 879, 2660, 881, 867, 2660,
2566, 2660, 0, 2660, 892, 2660, 896, 2660, 2660, 898,
2660, 902, 891, 2660, 903, 893, 2660, 904, 875, 2660,
880, 930, 977, 883, 0, 988, 0, 2660, 916, 2565,
2660, 2549, 2547, 2660, 920, 0, 0, 0, 2660, 2660,
2660, 2660, 1035, 2660, 924, 1049, 2660, 925, 1009, 935,
982, 2660, 2660, 2660, 928, 2660, 2559, 902, 2558, 1058,
730, 1066, 2492, 881, 2500, 2499, 2494, 2446, 2436, 912,
2413, 2422, 2418, 0, 2416, 2429, 2424, 2410, 865, 2424,
2422, 2418, 2409, 2414, 2415, 0, 2400, 2404, 0, 2403,
2400, 2388, 2372, 2351, 2340, 2303, 2301, 2287, 2300, 2285,
2290, 2294, 2293, 2281, 959, 923, 965, 925, 2660, 2660,
975, 2660, 2660, 2281, 2275, 2660, 2660, 982, 983, 1060,
974, 975, 1089, 1113, 2660, 1059, 1127, 2660, 1106, 1153,
1060, 1126, 2314, 1173, 1067, 1187, 2660, 1196, 1130, 2660,
1186, 2660, 0, 0, 0, 0, 0, 0, 0, 0,
2265, 2272, 2267, 2260, 2267, 2259, 0, 0, 0, 0,
0, 0, 0, 0, 2253, 2253, 1136, 980, 2265, 2265,
2247, 967, 2221, 2212, 994, 2202, 2176, 2159, 0, 2159,
0, 0, 2136, 2145, 2131, 2138, 0, 0, 2132, 2129,
0, 2133, 0, 2051, 2051, 2006, 2016, 2005, 1990, 1963,
1962, 1960, 1946, 1952, 0, 1937, 1948, 2660, 2660, 1938,
1930, 1207, 1131, 1233, 2660, 1242, 1234, 2660, 1235, 2660,
1256, 1248, 1927, 1939, 1945, 1925, 1923, 1920, 1931, 0,
0, 0, 0, 0, 0, 0, 0, 0, 1924, 1927,
1926, 1895, 1885, 0, 1867, 1840, 1830, 1826, 1827, 1801,
1796, 1781, 0, 0, 1767, 1754, 1760, 1748, 0, 1756,
1741, 1745, 0, 1754, 1729, 1715, 1692, 1672, 1674, 0,
1622, 1623, 0, 1626, 1612, 1287, 1265, 1614, 1581, 1276,
1266, 0, 1255, 1259, 1258, 1253, 1247, 0, 1256, 1236,
1248, 1246, 1239, 1232, 1233, 1238, 1225, 1223, 1223, 0,
0, 0, 1221, 0, 0, 0, 0, 0, 0, 1199,
1198, 1189, 1243, 1194, 1185, 719, 1194, 1195, 1176, 1188,
1175, 1191, 1178, 1153, 1141, 1153, 1140, 1137, 1135, 1126,
1130, 1120, 0, 1080, 0, 1081, 1078, 1124, 1123, 0,
1074, 1069, 1054, 1069, 1059, 1067, 1043, 1062, 0, 1041,
0, 1056, 1032, 1004, 1007, 1000, 991, 0, 0, 0,
0, 1044, 0, 997, 977, 0, 962, 961, 933, 0,
0, 927, 875, 0, 872, 820, 794, 791, 752, 718,
0, 590, 0, 0, 0, 533, 336, 0, 334, 314,
0, 279, 222, 117, 63, 0, 0, 0, 0, 2660,
1322, 1346, 1370, 1394, 1418, 1442, 1466, 1490, 1514, 1538,
1562, 1586, 1610, 1634, 1649, 1673, 1697, 1721, 1727, 1751,
1775, 1798, 1799, 1823, 1847, 1862, 1878, 1902, 1926, 1950,
1965, 1979, 1993, 2014, 2038, 2062, 2086, 2110, 2116, 2140,
2164, 2187, 2188, 2212, 2236, 2260, 2284, 2299, 2313, 2327,
2339, 2355, 2379, 2403, 2427, 2442, 2456, 2470, 2494, 2518,
2533, 2548, 2562, 2576, 2590, 2604, 2618, 2632
} ;
static yyconst short int yy_def[779] =
{ 0,
710, 1, 711, 711, 712, 712, 713, 713, 714, 714,
715, 715, 716, 716, 717, 717, 710, 17, 718, 718,
17, 21, 21, 21, 21, 25, 719, 719, 710, 29,
710, 31, 720, 720, 721, 721, 21, 21, 722, 722,
710, 710, 710, 710, 710, 723, 710, 710, 710, 724,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 725, 725, 710, 710,
710, 725, 725, 725, 725, 725, 725, 725, 725, 725,
725, 725, 725, 725, 725, 725, 725, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 726, 726, 710, 710, 710, 710, 710, 710,
710, 710, 710, 727, 710, 727, 728, 728, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 729, 729,
729, 710, 710, 710, 730, 710, 710, 731, 710, 732,
710, 710, 710, 710, 710, 733, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 734, 735, 710, 710,
710, 710, 736, 710, 710, 710, 710, 710, 737, 710,
738, 710, 739, 710, 710, 740, 710, 710, 710, 710,
710, 723, 710, 723, 710, 710, 710, 710, 724, 724,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 741, 710, 710, 742, 59, 710, 710, 743, 60,
710, 710, 710, 710, 710, 710, 710, 725, 744, 745,
710, 725, 725, 725, 725, 725, 725, 725, 725, 725,
725, 725, 725, 725, 725, 725, 725, 725, 725, 725,
725, 725, 725, 725, 725, 725, 725, 725, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 746, 746, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 747,
710, 747, 748, 748, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 749, 749, 749, 710, 710, 750,
710, 710, 710, 751, 710, 752, 710, 710, 710, 710,
710, 710, 753, 710, 710, 710, 710, 710, 710, 710,
710, 710, 754, 710, 755, 756, 710, 757, 758, 710,
759, 710, 710, 710, 760, 710, 761, 710, 710, 710,
710, 710, 762, 710, 710, 763, 764, 765, 710, 710,
710, 710, 710, 710, 766, 710, 710, 710, 710, 767,
768, 710, 710, 710, 769, 710, 769, 770, 770, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 710, 710, 710, 710, 710, 710,
710, 710, 710, 749, 749, 710, 710, 754, 754, 755,
756, 756, 757, 710, 710, 759, 710, 710, 710, 710,
772, 760, 710, 710, 773, 710, 710, 710, 774, 710,
710, 710, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 710, 710, 749,
749, 710, 775, 710, 710, 710, 776, 710, 710, 710,
710, 777, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 749, 749, 710, 778, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 749, 749, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 710, 749, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 710, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 771, 771, 0,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710
} ;
static yyconst short int yy_nxt[2735] =
{ 0,
42, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
60, 60, 60, 60, 60, 60, 60, 61, 62, 63,
64, 65, 66, 67, 67, 67, 67, 68, 67, 67,
69, 42, 70, 71, 72, 73, 74, 75, 76, 77,
78, 79, 67, 80, 67, 67, 81, 67, 67, 67,
67, 82, 83, 84, 85, 86, 87, 67, 67, 67,
88, 89, 90, 91, 93, 94, 95, 93, 94, 95,
99, 100, 99, 100, 234, 96, 97, 235, 96, 97,
101, 102, 101, 102, 104, 105, 106, 104, 105, 106,
110, 111, 110, 111, 183, 107, 108, 709, 107, 108,
112, 113, 112, 113, 115, 116, 115, 116, 118, 119,
120, 118, 119, 120, 122, 123, 122, 123, 140, 141,
142, 191, 126, 140, 141, 142, 126, 126, 126, 124,
184, 124, 174, 175, 143, 174, 175, 192, 126, 143,
126, 177, 178, 177, 178, 179, 180, 213, 214, 216,
217, 708, 223, 125, 224, 125, 126, 126, 126, 126,
126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
126, 126, 126, 127, 128, 128, 128, 128, 128, 128,
128, 128, 128, 126, 126, 126, 126, 126, 126, 126,
126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
126, 129, 129, 129, 130, 129, 129, 129, 129, 131,
129, 129, 129, 129, 129, 129, 129, 129, 129, 129,
129, 129, 129, 129, 129, 129, 126, 126, 126, 126,
133, 134, 187, 135, 133, 134, 196, 135, 149, 150,
149, 150, 194, 249, 226, 136, 151, 198, 151, 136,
211, 227, 197, 152, 188, 152, 707, 135, 228, 195,
203, 135, 199, 200, 219, 203, 212, 237, 220, 137,
229, 241, 242, 137, 138, 238, 273, 153, 204, 153,
230, 274, 243, 251, 250, 244, 139, 126, 126, 126,
126, 126, 126, 126, 126, 126, 201, 252, 202, 202,
202, 202, 202, 202, 202, 202, 202, 255, 256, 260,
261, 262, 263, 706, 126, 126, 126, 126, 126, 126,
126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
126, 126, 126, 126, 126, 126, 126, 126, 126, 144,
231, 253, 232, 126, 191, 253, 327, 253, 705, 262,
263, 233, 254, 253, 264, 145, 257, 253, 254, 259,
192, 258, 271, 272, 275, 268, 276, 277, 704, 266,
703, 146, 146, 146, 146, 146, 146, 146, 328, 147,
267, 268, 146, 146, 146, 146, 146, 146, 146, 146,
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
146, 146, 146, 146, 146, 146, 146, 146, 154, 154,
155, 156, 154, 157, 154, 154, 154, 158, 154, 154,
154, 154, 154, 154, 159, 160, 161, 162, 162, 162,
162, 162, 162, 162, 162, 154, 154, 154, 154, 154,
154, 163, 163, 163, 163, 163, 163, 163, 154, 164,
154, 154, 163, 163, 163, 163, 163, 163, 163, 163,
163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
163, 163, 163, 163, 163, 163, 163, 163, 154, 154,
154, 154, 126, 165, 126, 126, 126, 126, 126, 126,
126, 126, 126, 166, 126, 126, 167, 126, 126, 168,
126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
126, 126, 126, 126, 126, 169, 169, 169, 169, 169,
169, 169, 126, 170, 126, 126, 169, 169, 169, 169,
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
169, 169, 126, 126, 126, 126, 205, 269, 206, 206,
206, 206, 206, 206, 206, 206, 206, 702, 270, 270,
281, 282, 281, 282, 207, 285, 286, 208, 208, 209,
284, 285, 286, 270, 287, 288, 289, 290, 291, 207,
292, 289, 298, 299, 301, 292, 208, 302, 303, 301,
305, 306, 307, 308, 208, 305, 324, 209, 205, 426,
210, 210, 210, 210, 210, 210, 210, 210, 210, 307,
308, 314, 315, 310, 316, 317, 207, 270, 310, 208,
208, 312, 318, 319, 320, 426, 312, 318, 321, 322,
293, 207, 325, 701, 330, 338, 339, 341, 208, 330,
344, 345, 341, 179, 180, 183, 208, 294, 294, 294,
294, 294, 294, 294, 294, 294, 329, 329, 329, 329,
329, 329, 329, 329, 329, 331, 196, 332, 332, 332,
332, 332, 332, 332, 332, 332, 349, 710, 366, 211,
350, 184, 197, 333, 189, 350, 334, 334, 335, 351,
401, 406, 253, 398, 351, 212, 353, 354, 333, 354,
399, 362, 402, 254, 253, 334, 362, 407, 190, 208,
208, 353, 354, 334, 367, 404, 335, 331, 354, 336,
336, 336, 336, 336, 336, 336, 336, 336, 208, 356,
357, 415, 357, 405, 410, 333, 208, 417, 334, 334,
358, 358, 710, 411, 356, 357, 412, 416, 651, 413,
333, 357, 253, 418, 255, 256, 700, 334, 652, 358,
260, 261, 465, 254, 259, 334, 359, 358, 359, 466,
710, 360, 360, 360, 360, 360, 360, 360, 360, 360,
370, 699, 371, 372, 373, 374, 262, 263, 375, 273,
253, 376, 253, 377, 422, 378, 379, 380, 381, 382,
383, 254, 253, 257, 253, 266, 258, 269, 258, 262,
263, 275, 268, 269, 419, 698, 267, 268, 270, 270,
420, 420, 421, 697, 270, 270, 271, 272, 276, 277,
281, 282, 293, 270, 281, 282, 284, 285, 286, 270,
285, 286, 287, 288, 290, 291, 298, 299, 696, 294,
294, 294, 294, 294, 294, 294, 294, 294, 302, 303,
306, 307, 308, 307, 308, 309, 309, 309, 309, 309,
309, 309, 309, 309, 314, 315, 324, 270, 316, 317,
319, 320, 327, 270, 321, 322, 323, 326, 429, 434,
435, 452, 435, 432, 437, 438, 695, 438, 338, 339,
334, 334, 344, 345, 434, 435, 476, 493, 494, 437,
438, 435, 325, 366, 328, 518, 438, 519, 694, 334,
518, 477, 519, 369, 430, 433, 331, 334, 332, 332,
332, 332, 332, 332, 332, 332, 332, 483, 446, 447,
415, 447, 358, 358, 333, 484, 417, 439, 439, 367,
450, 693, 450, 446, 447, 485, 416, 420, 421, 333,
447, 358, 418, 327, 327, 450, 439, 324, 324, 358,
440, 450, 440, 692, 439, 441, 441, 441, 441, 441,
441, 441, 441, 441, 331, 691, 336, 336, 336, 336,
336, 336, 336, 336, 336, 328, 328, 554, 555, 451,
451, 690, 333, 325, 325, 334, 334, 360, 360, 360,
360, 360, 360, 360, 360, 360, 549, 333, 451, 558,
689, 688, 559, 550, 334, 672, 451, 687, 444, 686,
444, 685, 334, 445, 445, 445, 445, 445, 445, 445,
445, 445, 448, 323, 448, 429, 684, 449, 449, 449,
449, 449, 449, 449, 449, 449, 453, 454, 455, 456,
457, 458, 459, 460, 467, 468, 469, 470, 471, 472,
473, 474, 326, 524, 525, 528, 525, 528, 432, 683,
682, 430, 354, 681, 354, 461, 680, 679, 524, 525,
528, 678, 677, 676, 462, 525, 528, 354, 675, 674,
463, 464, 673, 354, 672, 648, 522, 671, 522, 670,
433, 523, 523, 523, 523, 523, 523, 523, 523, 523,
526, 669, 526, 439, 439, 527, 527, 527, 527, 527,
527, 527, 527, 527, 541, 542, 543, 544, 545, 546,
547, 548, 439, 529, 529, 357, 435, 357, 435, 668,
439, 441, 441, 441, 441, 441, 441, 441, 441, 441,
357, 435, 529, 667, 666, 665, 357, 435, 664, 663,
529, 445, 445, 445, 445, 445, 445, 445, 445, 445,
531, 662, 531, 661, 660, 532, 532, 532, 532, 532,
532, 532, 532, 532, 449, 449, 449, 449, 449, 449,
449, 449, 449, 451, 451, 523, 523, 523, 523, 523,
523, 523, 523, 523, 659, 658, 657, 656, 655, 654,
653, 650, 451, 649, 648, 647, 586, 646, 586, 645,
451, 587, 587, 587, 587, 587, 587, 587, 587, 587,
527, 527, 527, 527, 527, 527, 527, 527, 527, 438,
644, 438, 529, 529, 532, 532, 532, 532, 532, 532,
532, 532, 532, 447, 438, 447, 643, 642, 641, 640,
438, 529, 639, 638, 637, 636, 635, 634, 447, 529,
525, 633, 525, 632, 447, 587, 587, 587, 587, 587,
587, 587, 587, 587, 631, 525, 630, 629, 628, 627,
384, 525, 92, 92, 92, 92, 92, 92, 92, 92,
92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
92, 92, 92, 92, 92, 92, 98, 98, 98, 98,
98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
103, 103, 103, 103, 109, 109, 109, 109, 109, 109,
109, 109, 109, 109, 109, 109, 109, 109, 109, 109,
109, 109, 109, 109, 109, 109, 109, 109, 114, 114,
114, 114, 114, 114, 114, 114, 114, 114, 114, 114,
114, 114, 114, 114, 114, 114, 114, 114, 114, 114,
114, 114, 117, 117, 117, 117, 117, 117, 117, 117,
117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
117, 117, 117, 117, 117, 117, 121, 121, 121, 121,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
132, 132, 132, 132, 132, 132, 132, 132, 132, 132,
132, 132, 132, 132, 132, 132, 132, 132, 132, 132,
132, 132, 132, 132, 148, 148, 148, 148, 148, 148,
148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
148, 148, 148, 148, 148, 148, 148, 148, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
171, 171, 173, 173, 173, 173, 173, 173, 173, 173,
173, 173, 173, 173, 173, 173, 173, 173, 173, 173,
173, 173, 173, 173, 173, 173, 176, 176, 176, 176,
176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
182, 182, 182, 182, 182, 182, 182, 182, 182, 182,
182, 182, 182, 182, 182, 182, 182, 182, 182, 182,
182, 182, 182, 182, 189, 189, 189, 189, 189, 626,
189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
189, 189, 189, 189, 189, 189, 189, 189, 218, 625,
624, 218, 218, 218, 218, 218, 218, 218, 218, 218,
218, 218, 218, 265, 265, 623, 622, 265, 265, 265,
621, 265, 265, 265, 265, 265, 265, 265, 265, 265,
265, 265, 265, 265, 265, 265, 265, 280, 280, 280,
280, 280, 280, 280, 280, 280, 280, 280, 280, 280,
280, 280, 280, 280, 280, 280, 280, 280, 280, 280,
280, 283, 283, 620, 619, 283, 283, 283, 283, 283,
283, 283, 283, 283, 283, 283, 283, 283, 283, 283,
283, 283, 283, 283, 283, 295, 295, 295, 295, 295,
295, 300, 300, 300, 300, 618, 300, 300, 300, 300,
300, 300, 617, 300, 300, 300, 300, 300, 300, 300,
300, 300, 300, 300, 300, 304, 304, 304, 304, 616,
304, 304, 304, 304, 304, 304, 304, 304, 304, 304,
304, 304, 304, 304, 304, 304, 304, 304, 304, 309,
309, 309, 615, 614, 613, 612, 611, 309, 313, 610,
609, 313, 313, 313, 313, 313, 313, 313, 313, 313,
313, 313, 313, 323, 323, 608, 607, 323, 323, 323,
323, 323, 323, 323, 323, 323, 323, 323, 323, 323,
323, 323, 323, 323, 323, 323, 323, 326, 326, 606,
605, 326, 326, 326, 326, 326, 326, 326, 326, 326,
326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
326, 337, 604, 603, 337, 337, 337, 337, 337, 337,
337, 337, 337, 337, 337, 337, 343, 343, 602, 601,
343, 343, 343, 343, 343, 343, 343, 343, 343, 343,
343, 343, 346, 346, 346, 346, 346, 346, 346, 346,
346, 346, 600, 346, 346, 346, 346, 346, 346, 346,
346, 346, 346, 346, 346, 346, 347, 347, 347, 347,
347, 347, 599, 347, 347, 347, 347, 347, 347, 347,
347, 347, 347, 347, 347, 347, 347, 347, 347, 347,
348, 348, 348, 348, 348, 348, 598, 348, 348, 348,
348, 348, 348, 348, 348, 348, 348, 348, 348, 348,
348, 348, 348, 348, 202, 597, 596, 595, 202, 202,
594, 202, 593, 592, 202, 202, 591, 202, 355, 590,
589, 588, 355, 355, 585, 355, 584, 583, 355, 355,
582, 355, 361, 581, 580, 361, 361, 361, 579, 578,
577, 361, 361, 361, 365, 365, 365, 365, 365, 365,
365, 365, 365, 365, 365, 365, 365, 365, 365, 365,
365, 365, 365, 365, 365, 365, 365, 365, 368, 368,
368, 368, 368, 576, 368, 368, 368, 368, 368, 368,
368, 368, 368, 368, 368, 368, 368, 368, 368, 368,
368, 368, 265, 265, 575, 574, 265, 265, 265, 573,
265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
265, 265, 265, 265, 265, 265, 280, 280, 280, 280,
280, 280, 280, 280, 280, 280, 280, 280, 280, 280,
280, 280, 280, 280, 280, 280, 280, 280, 280, 280,
283, 283, 572, 571, 283, 283, 283, 283, 283, 283,
283, 283, 283, 283, 283, 283, 283, 283, 283, 283,
283, 283, 283, 283, 295, 295, 295, 295, 295, 295,
300, 300, 300, 300, 300, 300, 300, 300, 300, 300,
300, 300, 300, 300, 300, 300, 300, 300, 300, 300,
300, 300, 300, 300, 304, 304, 304, 304, 304, 304,
304, 304, 304, 304, 304, 304, 304, 304, 304, 304,
304, 304, 304, 304, 304, 304, 304, 304, 309, 309,
309, 570, 569, 568, 567, 566, 309, 313, 565, 564,
313, 313, 313, 313, 313, 313, 313, 313, 313, 313,
313, 313, 323, 323, 563, 562, 323, 323, 323, 323,
323, 323, 323, 323, 323, 323, 323, 323, 323, 323,
323, 323, 323, 323, 323, 323, 428, 428, 561, 428,
428, 428, 428, 428, 428, 428, 428, 428, 428, 428,
428, 428, 428, 428, 428, 428, 428, 428, 428, 428,
326, 326, 560, 557, 326, 326, 326, 326, 326, 326,
326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
326, 326, 326, 326, 431, 431, 556, 431, 431, 431,
431, 431, 431, 431, 431, 431, 431, 431, 431, 431,
431, 431, 431, 431, 431, 431, 431, 431, 329, 553,
552, 551, 329, 329, 540, 329, 539, 538, 329, 329,
537, 329, 436, 536, 535, 534, 436, 436, 533, 436,
530, 521, 436, 436, 520, 436, 442, 517, 516, 442,
442, 442, 515, 514, 513, 442, 442, 442, 337, 512,
511, 337, 337, 337, 337, 337, 337, 337, 337, 337,
337, 337, 337, 343, 343, 510, 509, 343, 343, 343,
343, 343, 343, 343, 343, 343, 343, 343, 343, 346,
346, 346, 346, 346, 346, 346, 346, 346, 346, 508,
346, 346, 346, 346, 346, 346, 346, 346, 346, 346,
346, 346, 346, 347, 347, 347, 347, 347, 347, 507,
347, 347, 347, 347, 347, 347, 347, 347, 347, 347,
347, 347, 347, 347, 347, 347, 347, 348, 348, 348,
348, 348, 348, 506, 348, 348, 348, 348, 348, 348,
348, 348, 348, 348, 348, 348, 348, 348, 348, 348,
348, 355, 505, 504, 503, 355, 355, 502, 355, 501,
500, 355, 355, 499, 355, 360, 498, 497, 496, 495,
360, 492, 360, 491, 490, 489, 360, 488, 360, 361,
487, 486, 361, 361, 361, 482, 361, 361, 361, 361,
361, 481, 361, 361, 365, 365, 365, 365, 365, 365,
365, 365, 365, 365, 365, 365, 365, 365, 365, 365,
365, 365, 365, 365, 365, 365, 365, 365, 368, 368,
368, 368, 368, 368, 368, 368, 368, 368, 368, 368,
368, 368, 368, 368, 368, 368, 368, 368, 368, 368,
368, 368, 218, 480, 479, 218, 218, 218, 218, 218,
218, 218, 218, 218, 218, 218, 218, 441, 478, 475,
710, 710, 441, 342, 441, 443, 340, 311, 441, 427,
441, 445, 425, 424, 293, 279, 445, 278, 445, 423,
273, 414, 445, 409, 445, 449, 408, 403, 400, 397,
449, 396, 449, 395, 394, 393, 449, 392, 449, 523,
391, 390, 389, 388, 523, 387, 523, 386, 385, 384,
523, 369, 523, 527, 364, 363, 352, 185, 527, 710,
527, 342, 340, 311, 527, 297, 527, 532, 296, 279,
278, 248, 532, 247, 532, 246, 245, 240, 532, 239,
532, 587, 236, 225, 222, 221, 587, 215, 587, 193,
190, 186, 587, 185, 587, 181, 710, 172, 172, 41,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710
} ;
static yyconst short int yy_chk[2735] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 3, 3, 3, 4, 4, 4,
5, 5, 6, 6, 78, 3, 3, 78, 4, 4,
5, 5, 6, 6, 7, 7, 7, 8, 8, 8,
9, 9, 10, 10, 46, 7, 7, 705, 8, 8,
9, 9, 10, 10, 11, 11, 12, 12, 13, 13,
13, 14, 14, 14, 15, 15, 16, 16, 23, 23,
23, 52, 23, 24, 24, 24, 37, 24, 38, 15,
46, 16, 35, 35, 23, 36, 36, 52, 37, 24,
38, 39, 39, 40, 40, 44, 44, 63, 63, 65,
65, 704, 73, 15, 73, 16, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
19, 19, 49, 19, 20, 20, 55, 20, 27, 27,
28, 28, 54, 89, 75, 19, 27, 56, 28, 20,
62, 75, 55, 27, 49, 28, 703, 19, 75, 54,
58, 20, 56, 56, 68, 58, 62, 80, 68, 19,
76, 83, 83, 20, 21, 80, 107, 27, 58, 28,
76, 107, 83, 90, 89, 83, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 57, 90, 57, 57,
57, 57, 57, 57, 57, 57, 57, 95, 95, 100,
100, 102, 102, 702, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 25,
77, 93, 77, 25, 191, 96, 158, 97, 700, 101,
101, 77, 93, 93, 101, 25, 96, 96, 97, 97,
191, 96, 106, 106, 108, 108, 111, 111, 699, 104,
697, 25, 25, 25, 25, 25, 25, 25, 158, 25,
104, 104, 25, 25, 25, 25, 25, 25, 25, 25,
25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
25, 25, 25, 25, 25, 25, 25, 25, 29, 29,
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
29, 29, 31, 31, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 59, 105, 59, 59,
59, 59, 59, 59, 59, 59, 59, 696, 105, 105,
114, 114, 116, 116, 59, 120, 120, 59, 59, 59,
118, 118, 118, 105, 123, 123, 124, 125, 125, 59,
127, 124, 134, 134, 136, 127, 59, 137, 137, 136,
139, 140, 140, 140, 59, 139, 157, 59, 60, 300,
60, 60, 60, 60, 60, 60, 60, 60, 60, 142,
142, 147, 147, 143, 150, 150, 60, 105, 143, 60,
60, 145, 152, 153, 153, 300, 145, 152, 156, 156,
128, 60, 157, 692, 160, 164, 164, 168, 60, 160,
170, 170, 168, 180, 180, 182, 60, 128, 128, 128,
128, 128, 128, 128, 128, 128, 159, 159, 159, 159,
159, 159, 159, 159, 159, 161, 196, 161, 161, 161,
161, 161, 161, 161, 161, 161, 189, 190, 219, 211,
192, 182, 196, 161, 190, 192, 161, 161, 161, 197,
240, 243, 253, 238, 197, 211, 202, 202, 161, 202,
238, 212, 240, 253, 253, 161, 212, 243, 189, 208,
208, 202, 202, 161, 219, 242, 161, 162, 202, 162,
162, 162, 162, 162, 162, 162, 162, 162, 208, 205,
205, 251, 205, 242, 246, 162, 208, 252, 162, 162,
206, 206, 206, 246, 205, 205, 247, 251, 626, 247,
162, 205, 259, 252, 256, 256, 690, 162, 626, 206,
261, 261, 371, 259, 259, 162, 207, 206, 207, 371,
206, 207, 207, 207, 207, 207, 207, 207, 207, 207,
222, 689, 222, 222, 222, 222, 263, 263, 222, 273,
254, 222, 257, 222, 273, 222, 222, 222, 222, 222,
222, 254, 254, 257, 257, 266, 254, 269, 257, 262,
262, 268, 268, 271, 262, 688, 266, 266, 269, 269,
270, 270, 270, 687, 271, 271, 272, 272, 277, 277,
280, 280, 294, 269, 282, 282, 284, 284, 284, 271,
286, 286, 288, 288, 291, 291, 299, 299, 686, 294,
294, 294, 294, 294, 294, 294, 294, 294, 303, 303,
306, 306, 306, 308, 308, 309, 309, 309, 309, 309,
309, 309, 309, 309, 315, 315, 323, 269, 317, 317,
320, 320, 326, 271, 322, 322, 325, 328, 325, 329,
329, 368, 329, 328, 331, 331, 685, 331, 339, 339,
334, 334, 345, 345, 329, 329, 374, 389, 389, 331,
331, 329, 323, 365, 326, 416, 331, 418, 683, 334,
416, 374, 418, 368, 325, 328, 332, 334, 332, 332,
332, 332, 332, 332, 332, 332, 332, 380, 355, 355,
415, 355, 358, 358, 332, 380, 417, 332, 332, 365,
360, 682, 360, 355, 355, 380, 415, 421, 421, 332,
355, 358, 417, 431, 432, 360, 332, 428, 429, 358,
333, 360, 333, 679, 332, 333, 333, 333, 333, 333,
333, 333, 333, 333, 336, 678, 336, 336, 336, 336,
336, 336, 336, 336, 336, 431, 432, 482, 482, 361,
361, 677, 336, 428, 429, 336, 336, 359, 359, 359,
359, 359, 359, 359, 359, 359, 478, 336, 361, 485,
675, 674, 485, 478, 336, 672, 361, 667, 353, 666,
353, 665, 336, 353, 353, 353, 353, 353, 353, 353,
353, 353, 356, 430, 356, 430, 664, 356, 356, 356,
356, 356, 356, 356, 356, 356, 370, 370, 370, 370,
370, 370, 370, 370, 372, 372, 372, 372, 372, 372,
372, 372, 433, 436, 436, 441, 436, 441, 433, 663,
662, 430, 445, 660, 445, 370, 658, 657, 436, 436,
441, 656, 655, 654, 370, 436, 441, 445, 653, 652,
370, 370, 651, 445, 649, 648, 434, 647, 434, 646,
433, 434, 434, 434, 434, 434, 434, 434, 434, 434,
437, 644, 437, 439, 439, 437, 437, 437, 437, 437,
437, 437, 437, 437, 477, 477, 477, 477, 477, 477,
477, 477, 439, 442, 442, 449, 523, 449, 523, 642,
439, 440, 440, 440, 440, 440, 440, 440, 440, 440,
449, 523, 442, 641, 640, 639, 449, 523, 638, 637,
442, 444, 444, 444, 444, 444, 444, 444, 444, 444,
446, 636, 446, 635, 634, 446, 446, 446, 446, 446,
446, 446, 446, 446, 448, 448, 448, 448, 448, 448,
448, 448, 448, 451, 451, 522, 522, 522, 522, 522,
522, 522, 522, 522, 633, 632, 631, 630, 629, 628,
627, 625, 451, 624, 623, 622, 524, 621, 524, 620,
451, 524, 524, 524, 524, 524, 524, 524, 524, 524,
526, 526, 526, 526, 526, 526, 526, 526, 526, 527,
613, 527, 529, 529, 531, 531, 531, 531, 531, 531,
531, 531, 531, 532, 527, 532, 609, 608, 607, 606,
527, 529, 605, 604, 603, 602, 601, 600, 532, 529,
587, 599, 587, 597, 532, 586, 586, 586, 586, 586,
586, 586, 586, 586, 596, 587, 595, 594, 593, 591,
590, 587, 711, 711, 711, 711, 711, 711, 711, 711,
711, 711, 711, 711, 711, 711, 711, 711, 711, 711,
711, 711, 711, 711, 711, 711, 712, 712, 712, 712,
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
712, 712, 712, 712, 712, 712, 712, 712, 712, 712,
713, 713, 713, 713, 713, 713, 713, 713, 713, 713,
713, 713, 713, 713, 713, 713, 713, 713, 713, 713,
713, 713, 713, 713, 714, 714, 714, 714, 714, 714,
714, 714, 714, 714, 714, 714, 714, 714, 714, 714,
714, 714, 714, 714, 714, 714, 714, 714, 715, 715,
715, 715, 715, 715, 715, 715, 715, 715, 715, 715,
715, 715, 715, 715, 715, 715, 715, 715, 715, 715,
715, 715, 716, 716, 716, 716, 716, 716, 716, 716,
716, 716, 716, 716, 716, 716, 716, 716, 716, 716,
716, 716, 716, 716, 716, 716, 717, 717, 717, 717,
717, 717, 717, 717, 717, 717, 717, 717, 717, 717,
717, 717, 717, 717, 717, 717, 717, 717, 717, 717,
718, 718, 718, 718, 718, 718, 718, 718, 718, 718,
718, 718, 718, 718, 718, 718, 718, 718, 718, 718,
718, 718, 718, 718, 719, 719, 719, 719, 719, 719,
719, 719, 719, 719, 719, 719, 719, 719, 719, 719,
719, 719, 719, 719, 719, 719, 719, 719, 720, 720,
720, 720, 720, 720, 720, 720, 720, 720, 720, 720,
720, 720, 720, 720, 720, 720, 720, 720, 720, 720,
720, 720, 721, 721, 721, 721, 721, 721, 721, 721,
721, 721, 721, 721, 721, 721, 721, 721, 721, 721,
721, 721, 721, 721, 721, 721, 722, 722, 722, 722,
722, 722, 722, 722, 722, 722, 722, 722, 722, 722,
722, 722, 722, 722, 722, 722, 722, 722, 722, 722,
723, 723, 723, 723, 723, 723, 723, 723, 723, 723,
723, 723, 723, 723, 723, 723, 723, 723, 723, 723,
723, 723, 723, 723, 724, 724, 724, 724, 724, 589,
724, 724, 724, 724, 724, 724, 724, 724, 724, 724,
724, 724, 724, 724, 724, 724, 724, 724, 725, 588,
585, 725, 725, 725, 725, 725, 725, 725, 725, 725,
725, 725, 725, 726, 726, 584, 582, 726, 726, 726,
581, 726, 726, 726, 726, 726, 726, 726, 726, 726,
726, 726, 726, 726, 726, 726, 726, 727, 727, 727,
727, 727, 727, 727, 727, 727, 727, 727, 727, 727,
727, 727, 727, 727, 727, 727, 727, 727, 727, 727,
727, 728, 728, 579, 578, 728, 728, 728, 728, 728,
728, 728, 728, 728, 728, 728, 728, 728, 728, 728,
728, 728, 728, 728, 728, 729, 729, 729, 729, 729,
729, 730, 730, 730, 730, 577, 730, 730, 730, 730,
730, 730, 576, 730, 730, 730, 730, 730, 730, 730,
730, 730, 730, 730, 730, 731, 731, 731, 731, 575,
731, 731, 731, 731, 731, 731, 731, 731, 731, 731,
731, 731, 731, 731, 731, 731, 731, 731, 731, 732,
732, 732, 574, 572, 571, 570, 568, 732, 733, 567,
566, 733, 733, 733, 733, 733, 733, 733, 733, 733,
733, 733, 733, 734, 734, 565, 562, 734, 734, 734,
734, 734, 734, 734, 734, 734, 734, 734, 734, 734,
734, 734, 734, 734, 734, 734, 734, 735, 735, 561,
560, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 736, 559, 558, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 737, 737, 557, 556,
737, 737, 737, 737, 737, 737, 737, 737, 737, 737,
737, 737, 738, 738, 738, 738, 738, 738, 738, 738,
738, 738, 555, 738, 738, 738, 738, 738, 738, 738,
738, 738, 738, 738, 738, 738, 739, 739, 739, 739,
739, 739, 553, 739, 739, 739, 739, 739, 739, 739,
739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
740, 740, 740, 740, 740, 740, 552, 740, 740, 740,
740, 740, 740, 740, 740, 740, 740, 740, 740, 740,
740, 740, 740, 740, 741, 551, 550, 549, 741, 741,
539, 741, 538, 537, 741, 741, 536, 741, 742, 535,
534, 533, 742, 742, 521, 742, 520, 517, 742, 742,
516, 742, 743, 514, 513, 743, 743, 743, 512, 511,
510, 743, 743, 743, 744, 744, 744, 744, 744, 744,
744, 744, 744, 744, 744, 744, 744, 744, 744, 744,
744, 744, 744, 744, 744, 744, 744, 744, 745, 745,
745, 745, 745, 509, 745, 745, 745, 745, 745, 745,
745, 745, 745, 745, 745, 745, 745, 745, 745, 745,
745, 745, 746, 746, 508, 507, 746, 746, 746, 506,
746, 746, 746, 746, 746, 746, 746, 746, 746, 746,
746, 746, 746, 746, 746, 746, 747, 747, 747, 747,
747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
748, 748, 505, 504, 748, 748, 748, 748, 748, 748,
748, 748, 748, 748, 748, 748, 748, 748, 748, 748,
748, 748, 748, 748, 749, 749, 749, 749, 749, 749,
750, 750, 750, 750, 750, 750, 750, 750, 750, 750,
750, 750, 750, 750, 750, 750, 750, 750, 750, 750,
750, 750, 750, 750, 751, 751, 751, 751, 751, 751,
751, 751, 751, 751, 751, 751, 751, 751, 751, 751,
751, 751, 751, 751, 751, 751, 751, 751, 752, 752,
752, 502, 500, 499, 496, 495, 752, 753, 494, 493,
753, 753, 753, 753, 753, 753, 753, 753, 753, 753,
753, 753, 754, 754, 490, 488, 754, 754, 754, 754,
754, 754, 754, 754, 754, 754, 754, 754, 754, 754,
754, 754, 754, 754, 754, 754, 755, 755, 487, 755,
755, 755, 755, 755, 755, 755, 755, 755, 755, 755,
755, 755, 755, 755, 755, 755, 755, 755, 755, 755,
756, 756, 486, 484, 756, 756, 756, 756, 756, 756,
756, 756, 756, 756, 756, 756, 756, 756, 756, 756,
756, 756, 756, 756, 757, 757, 483, 757, 757, 757,
757, 757, 757, 757, 757, 757, 757, 757, 757, 757,
757, 757, 757, 757, 757, 757, 757, 757, 758, 481,
480, 479, 758, 758, 476, 758, 475, 466, 758, 758,
465, 758, 759, 464, 463, 462, 759, 759, 461, 759,
443, 425, 759, 759, 424, 759, 760, 414, 413, 760,
760, 760, 412, 411, 410, 760, 760, 760, 761, 409,
408, 761, 761, 761, 761, 761, 761, 761, 761, 761,
761, 761, 761, 762, 762, 407, 406, 762, 762, 762,
762, 762, 762, 762, 762, 762, 762, 762, 762, 763,
763, 763, 763, 763, 763, 763, 763, 763, 763, 405,
763, 763, 763, 763, 763, 763, 763, 763, 763, 763,
763, 763, 763, 764, 764, 764, 764, 764, 764, 404,
764, 764, 764, 764, 764, 764, 764, 764, 764, 764,
764, 764, 764, 764, 764, 764, 764, 765, 765, 765,
765, 765, 765, 403, 765, 765, 765, 765, 765, 765,
765, 765, 765, 765, 765, 765, 765, 765, 765, 765,
765, 766, 402, 401, 400, 766, 766, 398, 766, 397,
395, 766, 766, 394, 766, 767, 393, 392, 391, 390,
767, 388, 767, 387, 386, 385, 767, 383, 767, 768,
382, 381, 768, 768, 768, 379, 768, 768, 768, 768,
768, 378, 768, 768, 769, 769, 769, 769, 769, 769,
769, 769, 769, 769, 769, 769, 769, 769, 769, 769,
769, 769, 769, 769, 769, 769, 769, 769, 770, 770,
770, 770, 770, 770, 770, 770, 770, 770, 770, 770,
770, 770, 770, 770, 770, 770, 770, 770, 770, 770,
770, 770, 771, 377, 376, 771, 771, 771, 771, 771,
771, 771, 771, 771, 771, 771, 771, 772, 375, 373,
369, 367, 772, 343, 772, 342, 340, 311, 772, 304,
772, 773, 297, 296, 293, 279, 773, 278, 773, 275,
267, 248, 773, 245, 773, 774, 244, 241, 239, 236,
774, 235, 774, 234, 233, 232, 774, 231, 774, 775,
230, 229, 228, 227, 775, 226, 775, 225, 224, 223,
775, 220, 775, 776, 217, 213, 201, 185, 776, 184,
776, 169, 165, 144, 776, 131, 776, 777, 130, 113,
112, 87, 777, 86, 777, 85, 84, 82, 777, 81,
777, 778, 79, 74, 72, 71, 778, 64, 778, 53,
50, 48, 778, 47, 778, 45, 41, 34, 33, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710, 710, 710, 710, 710, 710, 710,
710, 710, 710, 710
} ;
static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
static char *yy_full_match;
static int yy_lp;
static int yy_looking_for_trail_begin = 0;
static int yy_full_lp;
static int *yy_full_state;
#define YY_TRAILING_MASK 0x2000
#define YY_TRAILING_HEAD_MASK 0x4000
#define REJECT \
{ \
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \
yy_cp = yy_full_match; /* restore poss. backed-over text */ \
yy_lp = yy_full_lp; /* restore orig. accepting pos. */ \
yy_state_ptr = yy_full_state; /* restore orig. state */ \
yy_current_state = *yy_state_ptr; /* restore curr. state */ \
++yy_lp; \
goto find_rule; \
}
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#define INITIAL 0
#define START_COMMENT 1
#define COMMENT 2
#define SPECIAL_COMMENT 3
#define START_COMMENT_CPP 4
#define COMMENT_CPP 5
#define SPECIAL_COMMENT_CPP 6
#define CPP 7
#define CPP_START 8
#define CPP_INCLUDE 9
#define CPP_INC_FILE 10
#define CPP_INC_FLAGS 11
#define CPP_DEFINE 12
#define CPP_DEFINE_ARGP 13
#define CPP_DEFINE_BODY 14
#define CPP_DEFINE_ARGS 15
#define GNU_LABEL 16
#define GNU_ATTRIBUTE 17
#define GNU_EXTENSION 18
#define GNU_TYPEOF 19
/***************************************
$Header: /home/amb/cxref/RCS/parse.l 1.23 1997/11/20 19:57:40 amb Exp $
C Cross Referencing & Documentation tool. Version 1.4a.
C lexical analyser
CPP processing, including GNU extensions, using yylval as a string.
******************/ /******************
Written by Andrew M. Bishop
This file Copyright 1995,96,97 Andrew M. Bishop
It may be distributed under the GNU Public License, version 2, or
any higher version. See section COPYING of the GNU Public license
for conditions under which this file may be redistributed.
***************************************/
#include "parse-yy.h"
#include "parse-yacc.h"
#include "cxref.h"
#include "memory.h"
/*+ The name of the current file. +*/
char* parse_file=NULL;
/*+ The current line number in the file. +*/
int parse_line=0;
/*+ If we are in a header file then ignore the comments. +*/
extern int in_header;
/*+ One of the options controlling how comments are processed, +*/
extern int option_all_comments, /*+ use all comments not just the specially formattted ones. +*/
option_block_comments, /*+ remove the leading block comment marker. +*/
option_no_comments; /*+ ignore all comments. +*/
/*+ Flag that indicates if the comment warnings are to be issued. +*/
extern int option_warn;
/*+ The flags that come out of GCC when a file is included. +*/
static int inc_file_flags=0;
/*+ The value of the thing that is defined (but only if it is simple). +*/
static char* define_value=NULL;
/*+ The lex state at the time that a comment is seen. +*/
static int comment_init_state=INITIAL;
/*+ To get around the GCC __attribute__ keyword, skip over matched () counted by this. +*/
static int gnu_att_depth=0;
/*+ To get around the GCC __typeof__ keyword, skip over matched () counted by this. +*/
static int gnu_typ_depth=0;
/*+ If we see a comment immediately after a ',', ';', '};', '},' or ')' then push it before. +*/
static int push_past=0;
/*++++++++++++++++++++++++++++++++++++++
Reset the Lexer, ready for the next file.
++++++++++++++++++++++++++++++++++++++*/
void ResetLexer(void)
{
parse_file=NULL;
parse_line=0;
inc_file_flags=0;
define_value=NULL;
comment_init_state=INITIAL;
gnu_att_depth=0;
gnu_typ_depth=0;
push_past=0;
SeenComment((char*)3);
}
/* Macros after this point can all be overridden by user definitions in
* section 1.
*/
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap YY_PROTO(( void ));
#else
extern int yywrap YY_PROTO(( void ));
#endif
#endif
#ifndef YY_NO_UNPUT
static void yyunput YY_PROTO(( int c, char *buf_ptr ));
#endif
#ifndef yytext_ptr
static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
#endif
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen YY_PROTO(( yyconst char * ));
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput YY_PROTO(( void ));
#else
static int input YY_PROTO(( void ));
#endif
#endif
#if YY_STACK_USED
static int yy_start_stack_ptr = 0;
static int yy_start_stack_depth = 0;
static int *yy_start_stack = 0;
#ifndef YY_NO_PUSH_STATE
static void yy_push_state YY_PROTO(( int new_state ));
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state YY_PROTO(( void ));
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state YY_PROTO(( void ));
#endif
#else
#define YY_NO_PUSH_STATE 1
#define YY_NO_POP_STATE 1
#define YY_NO_TOP_STATE 1
#endif
#ifdef YY_MALLOC_DECL
YY_MALLOC_DECL
#else
#if __STDC__
#ifndef __cplusplus
#include <stdlib.h>
#endif
#else
/* Just try to get by without declaring the routines. This will fail
* miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
* or sizeof(void*) != sizeof(int).
*/
#endif
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif
/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
* is returned in "result".
*/
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
if ( yy_current_buffer->yy_is_interactive ) \
{ \
int c = '*', n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
&& ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" );
#endif
/* No semi-colon after return; correct usage is to write "yyterminate();" -
* we don't want an extra ';' after the "return" because that will cause
* some compilers to complain about unreachable statements.
*/
#ifndef yyterminate
#define yyterminate() return YY_NULL
#endif
/* Number of entries by which start-condition stack grows. */
#ifndef YY_START_STACK_INCR
#define YY_START_STACK_INCR 25
#endif
/* Report a fatal error. */
#ifndef YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#endif
/* Default declaration of generated scanner - a define so the user can
* easily add parameters.
*/
#ifndef YY_DECL
#define YY_DECL int yylex YY_PROTO(( void ))
#endif
/* Code executed at the beginning of each rule, after yytext and yyleng
* have been set up.
*/
#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
#endif
#define YY_RULE_SETUP \
YY_USER_ACTION
YY_DECL
{
register yy_state_type yy_current_state;
register char *yy_cp, *yy_bp;
register int yy_act;
/* Comments, could be embedded in a preprocessor directive. */
if ( yy_init )
{
yy_init = 0;
#ifdef YY_USER_INIT
YY_USER_INIT;
#endif
if ( ! yy_start )
yy_start = 1; /* first start state */
if ( ! yyin )
yyin = stdin;
if ( ! yyout )
yyout = stdout;
if ( ! yy_current_buffer )
yy_current_buffer =
yy_create_buffer( yyin, YY_BUF_SIZE );
yy_load_buffer_state();
}
while ( 1 ) /* loops until end-of-file is reached */
{
yy_cp = yy_c_buf_p;
/* Support of yytext. */
*yy_cp = yy_hold_char;
/* yy_bp points to the position in yy_ch_buf of the start of
* the current run.
*/
yy_bp = yy_cp;
yy_current_state = yy_start;
yy_state_ptr = yy_state_buf;
*yy_state_ptr++ = yy_current_state;
yy_match:
do
{
register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 711 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
*yy_state_ptr++ = yy_current_state;
++yy_cp;
}
while ( yy_base[yy_current_state] != 2660 );
yy_find_action:
yy_current_state = *--yy_state_ptr;
yy_lp = yy_accept[yy_current_state];
find_rule: /* we branch to this label when backing up */
for ( ; ; ) /* until we find what rule we matched */
{
if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] )
{
yy_act = yy_acclist[yy_lp];
if ( yy_act & YY_TRAILING_HEAD_MASK ||
yy_looking_for_trail_begin )
{
if ( yy_act == yy_looking_for_trail_begin )
{
yy_looking_for_trail_begin = 0;
yy_act &= ~YY_TRAILING_HEAD_MASK;
break;
}
}
else if ( yy_act & YY_TRAILING_MASK )
{
yy_looking_for_trail_begin = yy_act & ~YY_TRAILING_MASK;
yy_looking_for_trail_begin |= YY_TRAILING_HEAD_MASK;
}
else
{
yy_full_match = yy_cp;
yy_full_state = yy_state_ptr;
yy_full_lp = yy_lp;
break;
}
++yy_lp;
goto find_rule;
}
--yy_cp;
yy_current_state = *--yy_state_ptr;
yy_lp = yy_accept[yy_current_state];
}
YY_DO_BEFORE_ACTION;
do_action: /* This label is used only to access EOF actions. */
switch ( yy_act )
{ /* beginning of action switch */
case 1:
YY_RULE_SETUP
{ comment_init_state = INITIAL ; BEGIN(yytext[1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 2:
YY_RULE_SETUP
{ comment_init_state = CPP_START ; BEGIN(yytext[1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 3:
YY_RULE_SETUP
{ comment_init_state = CPP ; BEGIN(yytext[1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 4:
YY_RULE_SETUP
{ comment_init_state = CPP_DEFINE ; BEGIN(yytext[1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 5:
YY_RULE_SETUP
{ comment_init_state = CPP_INCLUDE ; BEGIN(yytext[1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 6:
YY_RULE_SETUP
{ comment_init_state = CPP_DEFINE_ARGP; BEGIN(yytext[1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 7:
YY_RULE_SETUP
{ comment_init_state = CPP_DEFINE_ARGS; BEGIN(yytext[1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 8:
YY_RULE_SETUP
{ comment_init_state = CPP_DEFINE_BODY; BEGIN(yytext[1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 9:
YY_RULE_SETUP
{ comment_init_state = CPP_INC_FILE ; BEGIN(yytext[1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 10:
YY_RULE_SETUP
{ comment_init_state = CPP_INC_FLAGS ; BEGIN(yytext[1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 11:
YY_RULE_SETUP
{ BEGIN(SPECIAL_COMMENT); }
YY_BREAK
case 12:
YY_RULE_SETUP
{ BEGIN(SPECIAL_COMMENT); }
YY_BREAK
case 13:
YY_RULE_SETUP
{ BEGIN(comment_init_state); while(push_past) {push_past--;unput(yylval[push_past]);} }
YY_BREAK
case 14:
YY_RULE_SETUP
{ if(option_all_comments) SeenComment(yytext); parse_line++;
if(option_all_comments) BEGIN(SPECIAL_COMMENT); else BEGIN(COMMENT); }
YY_BREAK
case 15:
YY_RULE_SETUP
{ if(option_all_comments) SeenComment(yytext);
if(option_all_comments) BEGIN(SPECIAL_COMMENT); else BEGIN(COMMENT); }
YY_BREAK
case 16:
YY_RULE_SETUP
{ BEGIN(SPECIAL_COMMENT_CPP); }
YY_BREAK
case 17:
YY_RULE_SETUP
{ BEGIN(SPECIAL_COMMENT_CPP); }
YY_BREAK
case 18:
YY_RULE_SETUP
{ if(comment_init_state==CPP_INCLUDE || comment_init_state==CPP_DEFINE) comment_init_state=INITIAL;
parse_line++; BEGIN(comment_init_state); while(push_past) {push_past--;unput(yylval[push_past]);} }
YY_BREAK
case 19:
YY_RULE_SETUP
{ if(option_all_comments) BEGIN(SPECIAL_COMMENT_CPP); else BEGIN(COMMENT_CPP); }
YY_BREAK
case 20:
YY_RULE_SETUP
{ parse_line++; }
YY_BREAK
case 21:
YY_RULE_SETUP
{ }
YY_BREAK
case 22:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp -= 2;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
{ if(option_warn&COMMENT) fprintf(stderr,"%s:%d: Warning unbalanced cxref comment; starts simple, ends special.\n",parse_file,parse_line); }
YY_BREAK
case 23:
YY_RULE_SETUP
{ BEGIN(comment_init_state); while(push_past) {push_past--;unput(yylval[push_past]);} }
YY_BREAK
case 24:
YY_RULE_SETUP
{ if(comment_init_state==CPP_INCLUDE || comment_init_state==CPP_DEFINE) comment_init_state=INITIAL;
parse_line++; BEGIN(comment_init_state); while(push_past) {push_past--;unput(yylval[push_past]);} }
YY_BREAK
case 25:
YY_RULE_SETUP
{ if(!option_no_comments) SeenComment(yytext); parse_line++; }
YY_BREAK
case 26:
YY_RULE_SETUP
{ parse_line++;
if(option_block_comments) yytext[0]='\n',yytext[1]=0;
if(!option_no_comments) SeenComment(yytext); }
YY_BREAK
case 27:
YY_RULE_SETUP
{ if(!option_no_comments) SeenComment(yytext); }
YY_BREAK
case 28:
YY_RULE_SETUP
{ if(!option_no_comments) SeenComment(yytext); }
YY_BREAK
case 29:
YY_RULE_SETUP
{ if(!option_no_comments) SeenComment((char*)0);
BEGIN(comment_init_state); while(push_past) {push_past--;unput(yylval[push_past]);} }
YY_BREAK
case 30:
YY_RULE_SETUP
{ if(!option_no_comments) SeenComment((char*)1);
if(!in_header && comment_init_state==CPP_DEFINE_ARGS) SeenDefineFuncArgComment();
if(!in_header && comment_init_state==CPP_DEFINE_BODY) SeenDefineComment();
if(!in_header && comment_init_state==CPP_INCLUDE) SeenIncludeComment();
BEGIN(comment_init_state); while(push_past) {push_past--;unput(yylval[push_past]);} }
YY_BREAK
case 31:
YY_RULE_SETUP
{ if(!option_all_comments && option_warn&COMMENT)
fprintf(stderr,"%s:%d: Warning unbalanced cxref comment; starts special, ends simple.\n",parse_file,parse_line);
if(option_all_comments) SeenComment((char*)2); else if(!option_no_comments) SeenComment((char*)1);
if(!in_header && comment_init_state==CPP_DEFINE_ARGS) SeenDefineFuncArgComment();
if(!in_header && comment_init_state==CPP_DEFINE_BODY) SeenDefineComment();
if(!in_header && comment_init_state==CPP_INCLUDE) SeenIncludeComment();
BEGIN(comment_init_state); while(push_past) {push_past--;unput(yylval[push_past]);} }
YY_BREAK
case 32:
YY_RULE_SETUP
{ if(!option_no_comments) SeenComment(yytext); }
YY_BREAK
case 33:
YY_RULE_SETUP
{ if(!option_no_comments) SeenComment(yytext); }
YY_BREAK
case 34:
YY_RULE_SETUP
{ if(!option_no_comments) SeenComment((char*)1);
if(!in_header && comment_init_state==CPP_DEFINE_ARGS) SeenDefineFuncArgComment();
if(!in_header && comment_init_state==CPP_DEFINE_BODY) SeenDefineComment();
if(!in_header && comment_init_state==CPP_INCLUDE) SeenIncludeComment();
if(comment_init_state==CPP_INCLUDE || comment_init_state==CPP_DEFINE) comment_init_state=INITIAL;
parse_line++; BEGIN(comment_init_state); while(push_past) {push_past--;unput(yylval[push_past]);} }
YY_BREAK
/* Preprocessor directives, only valid at the top level. */
case 35:
YY_RULE_SETUP
{ BEGIN(CPP_START); }
YY_BREAK
case 36:
YY_RULE_SETUP
{ parse_line=atoi(yytext); BEGIN(CPP_INC_FILE);}
YY_BREAK
case 37:
YY_RULE_SETUP
{ BEGIN(CPP_DEFINE); }
YY_BREAK
case 38:
YY_RULE_SETUP
{ BEGIN(CPP_INCLUDE); }
YY_BREAK
case 39:
YY_RULE_SETUP
{ BEGIN(CPP); }
YY_BREAK
case 40:
YY_RULE_SETUP
{ }
YY_BREAK
case 41:
YY_RULE_SETUP
{ parse_line++; }
YY_BREAK
case 42:
YY_RULE_SETUP
{ parse_line++; BEGIN(INITIAL); }
YY_BREAK
case 43:
YY_RULE_SETUP
{ if(!in_header) SeenDefine(yytext); BEGIN(CPP_DEFINE_ARGP); }
YY_BREAK
case 44:
YY_RULE_SETUP
{ parse_line++; }
YY_BREAK
case 45:
YY_RULE_SETUP
{ }
YY_BREAK
case 46:
YY_RULE_SETUP
{ BEGIN(CPP_DEFINE_ARGS); }
YY_BREAK
case 47:
YY_RULE_SETUP
{ parse_line++; BEGIN(INITIAL); }
YY_BREAK
case 48:
YY_RULE_SETUP
{ define_value=NULL; BEGIN(CPP_DEFINE_BODY); }
YY_BREAK
case 49:
YY_RULE_SETUP
{ parse_line++; }
YY_BREAK
case 50:
YY_RULE_SETUP
{ if(!in_header) SeenDefineFunctionArg(yytext); }
YY_BREAK
case 51:
YY_RULE_SETUP
{ if(!in_header) SeenDefineFunctionArg(yytext); }
YY_BREAK
case 52:
YY_RULE_SETUP
{ }
YY_BREAK
case 53:
YY_RULE_SETUP
{ }
YY_BREAK
case 54:
YY_RULE_SETUP
{ parse_line++; }
YY_BREAK
case 55:
YY_RULE_SETUP
{ define_value=(char*)1; BEGIN(CPP_DEFINE_BODY); }
YY_BREAK
case 56:
YY_RULE_SETUP
{ if(!in_header) {if(!define_value) define_value=CopyString(yytext); else define_value=(char*)1;} }
YY_BREAK
case 57:
YY_RULE_SETUP
{ if(!in_header) {if(!define_value) define_value=CopyString(yytext); else define_value=(char*)1;} }
YY_BREAK
case 58:
YY_RULE_SETUP
{ if(!in_header) {if(!define_value) define_value=CopyString(yytext); else define_value=(char*)1;} }
YY_BREAK
case 59:
YY_RULE_SETUP
{ if(!in_header) {if(!define_value) define_value=CopyString(yytext); else define_value=(char*)1;} }
YY_BREAK
case 60:
YY_RULE_SETUP
{ if(!in_header) {if(!define_value) define_value=CopyString(yytext); else define_value=(char*)1;} }
YY_BREAK
case 61:
YY_RULE_SETUP
{ if(!in_header) {if(!define_value) define_value=CopyString(yytext); else define_value=(char*)1;} }
YY_BREAK
case 62:
YY_RULE_SETUP
{ if(!in_header) {if(!define_value) define_value=CopyString(yytext); else define_value=(char*)1;} }
YY_BREAK
case 63:
YY_RULE_SETUP
{ if(!in_header) {if(!define_value) define_value=CopyString(yytext); else define_value=(char*)1;} }
YY_BREAK
case 64:
YY_RULE_SETUP
{ if(!in_header) {if(!define_value) define_value=CopyString(yytext); else define_value=(char*)1;} }
YY_BREAK
case 65:
YY_RULE_SETUP
{ }
YY_BREAK
case 66:
YY_RULE_SETUP
{ parse_line++; }
YY_BREAK
case 67:
YY_RULE_SETUP
{ parse_line++; if(define_value>(char*)1) SeenDefineValue(define_value); BEGIN(INITIAL); }
YY_BREAK
case 68:
YY_RULE_SETUP
{ SeenInclude(yytext); }
YY_BREAK
case 69:
YY_RULE_SETUP
{ }
YY_BREAK
case 70:
YY_RULE_SETUP
{ parse_line++; }
YY_BREAK
case 71:
YY_RULE_SETUP
{ parse_line++; BEGIN(INITIAL); }
YY_BREAK
case 72:
YY_RULE_SETUP
{ parse_file=CopyString(yytext+1); parse_file[strlen(parse_file)-1]=0;
SeenComment((char*)3);
inc_file_flags=0; BEGIN(CPP_INC_FLAGS); }
YY_BREAK
case 73:
YY_RULE_SETUP
{ inc_file_flags+=1<<atoi(yytext); }
YY_BREAK
case 74:
YY_RULE_SETUP
{ if(inc_file_flags&6) SeenFileChange(parse_file,inc_file_flags);
BEGIN(INITIAL); }
YY_BREAK
/* GNU C strangeness. */
case 75:
YY_RULE_SETUP
{ yylval="alignof" ; return(SIZEOF); }
YY_BREAK
case 76:
YY_RULE_SETUP
{ yylval="signed" ; return(SIGNED); }
YY_BREAK
case 77:
YY_RULE_SETUP
{ yylval="unsigned" ; return(UNSIGNED); }
YY_BREAK
case 78:
YY_RULE_SETUP
{ yylval="volatile" ; return(VOLATILE); }
YY_BREAK
case 79:
YY_RULE_SETUP
{ yylval="const" ; return(CONST); }
YY_BREAK
/* olsen: the following two clash with SAS/C keywords. */
/* ("__inline"|"__inline__") { yylval="inline" ; return(INLINE); } */
/* ("asm"|"__asm"|"__asm__") { yylval="asm" ; return(ASM); } */
case 80:
YY_RULE_SETUP
{ yylval="inline" ; return(INLINE); }
YY_BREAK
case 81:
YY_RULE_SETUP
{ yylval="asm" ; return(ASM); }
YY_BREAK
case 82:
YY_RULE_SETUP
{ BEGIN(GNU_LABEL); }
YY_BREAK
case 83:
YY_RULE_SETUP
{ }
YY_BREAK
case 84:
YY_RULE_SETUP
{ BEGIN(INITIAL); }
YY_BREAK
case 85:
YY_RULE_SETUP
{ gnu_att_depth=0; BEGIN(GNU_ATTRIBUTE); }
YY_BREAK
case 86:
YY_RULE_SETUP
{ gnu_att_depth++; }
YY_BREAK
case 87:
YY_RULE_SETUP
{ }
YY_BREAK
case 88:
YY_RULE_SETUP
{ if(--gnu_att_depth==0) BEGIN(INITIAL); }
YY_BREAK
case 89:
YY_RULE_SETUP
{ gnu_typ_depth=0; BEGIN(GNU_TYPEOF); }
YY_BREAK
case 90:
YY_RULE_SETUP
{ gnu_typ_depth++; }
YY_BREAK
case 91:
YY_RULE_SETUP
{ }
YY_BREAK
case 92:
YY_RULE_SETUP
{ if(--gnu_typ_depth==0) {BEGIN(INITIAL); yylval="typeof"; return(TYPE_NAME);} }
YY_BREAK
case 93:
YY_RULE_SETUP
{ }
YY_BREAK
/* olsen: special SAS/C keywords */
case 94:
YY_RULE_SETUP
{ }
YY_BREAK
case 95:
YY_RULE_SETUP
{ }
YY_BREAK
case 96:
YY_RULE_SETUP
{ }
YY_BREAK
case 97:
YY_RULE_SETUP
{ }
YY_BREAK
case 98:
YY_RULE_SETUP
{ }
YY_BREAK
case 99:
YY_RULE_SETUP
{ }
YY_BREAK
case 100:
YY_RULE_SETUP
{ }
YY_BREAK
case 101:
YY_RULE_SETUP
{ }
YY_BREAK
case 102:
YY_RULE_SETUP
{ }
YY_BREAK
case 103:
YY_RULE_SETUP
{ }
YY_BREAK
case 104:
YY_RULE_SETUP
{ }
YY_BREAK
case 105:
YY_RULE_SETUP
{ }
YY_BREAK
case 106:
YY_RULE_SETUP
{ }
YY_BREAK
case 107:
YY_RULE_SETUP
{ }
YY_BREAK
case 108:
YY_RULE_SETUP
{ }
YY_BREAK
case 109:
YY_RULE_SETUP
{ }
YY_BREAK
case 110:
YY_RULE_SETUP
{ }
YY_BREAK
case 111:
YY_RULE_SETUP
{ }
YY_BREAK
case 112:
YY_RULE_SETUP
{ }
YY_BREAK
case 113:
YY_RULE_SETUP
{ }
YY_BREAK
case 114:
YY_RULE_SETUP
{ }
YY_BREAK
case 115:
YY_RULE_SETUP
{ }
YY_BREAK
case 116:
YY_RULE_SETUP
{ }
YY_BREAK
case 117:
YY_RULE_SETUP
{ }
YY_BREAK
case 118:
YY_RULE_SETUP
{ }
YY_BREAK
case 119:
YY_RULE_SETUP
{ }
YY_BREAK
case 120:
YY_RULE_SETUP
{ }
YY_BREAK
case 121:
YY_RULE_SETUP
{ }
YY_BREAK
case 122:
YY_RULE_SETUP
{ }
YY_BREAK
case 123:
YY_RULE_SETUP
{ }
YY_BREAK
case 124:
YY_RULE_SETUP
{ }
YY_BREAK
case 125:
YY_RULE_SETUP
{ }
YY_BREAK
case 126:
YY_RULE_SETUP
{ }
YY_BREAK
case 127:
YY_RULE_SETUP
{ }
YY_BREAK
case 128:
YY_RULE_SETUP
{ }
YY_BREAK
case 129:
YY_RULE_SETUP
{ }
YY_BREAK
case 130:
YY_RULE_SETUP
{ }
YY_BREAK
case 131:
YY_RULE_SETUP
{ }
YY_BREAK
/* C language keywords. */
case 132:
YY_RULE_SETUP
{ yylval="auto" ; return(AUTO); }
YY_BREAK
case 133:
YY_RULE_SETUP
{ yylval="break" ; return(BREAK); }
YY_BREAK
case 134:
YY_RULE_SETUP
{ yylval="case" ; return(CASE); }
YY_BREAK
case 135:
YY_RULE_SETUP
{ yylval="char" ; return(CHAR); }
YY_BREAK
case 136:
YY_RULE_SETUP
{ yylval="const" ; return(CONST); }
YY_BREAK
case 137:
YY_RULE_SETUP
{ yylval="continue"; return(CONTINUE); }
YY_BREAK
case 138:
YY_RULE_SETUP
{ yylval="default" ; return(DEFAULT); }
YY_BREAK
case 139:
YY_RULE_SETUP
{ yylval="do" ; return(DO); }
YY_BREAK
case 140:
YY_RULE_SETUP
{ yylval="double" ; return(DOUBLE); }
YY_BREAK
case 141:
YY_RULE_SETUP
{ yylval="else" ; return(ELSE); }
YY_BREAK
case 142:
YY_RULE_SETUP
{ yylval="enum" ; return(ENUM); }
YY_BREAK
case 143:
YY_RULE_SETUP
{ yylval="extern" ; return(EXTERN); }
YY_BREAK
case 144:
YY_RULE_SETUP
{ yylval="float" ; return(FLOAT); }
YY_BREAK
case 145:
YY_RULE_SETUP
{ yylval="for" ; return(FOR); }
YY_BREAK
case 146:
YY_RULE_SETUP
{ yylval="goto" ; return(GOTO); }
YY_BREAK
case 147:
YY_RULE_SETUP
{ yylval="if" ; return(IF); }
YY_BREAK
case 148:
YY_RULE_SETUP
{ yylval="int" ; return(INT); }
YY_BREAK
case 149:
YY_RULE_SETUP
{ yylval="inline" ; return(INLINE); }
YY_BREAK
case 150:
YY_RULE_SETUP
{ yylval="long" ; return(LONG); }
YY_BREAK
case 151:
YY_RULE_SETUP
{ yylval="register"; return(REGISTER); }
YY_BREAK
case 152:
YY_RULE_SETUP
{ yylval="return" ; return(RETURN); }
YY_BREAK
case 153:
YY_RULE_SETUP
{ yylval="short" ; return(SHORT); }
YY_BREAK
case 154:
YY_RULE_SETUP
{ yylval="signed" ; return(SIGNED); }
YY_BREAK
case 155:
YY_RULE_SETUP
{ yylval="sizeof" ; return(SIZEOF); }
YY_BREAK
case 156:
YY_RULE_SETUP
{ yylval="static" ; return(STATIC); }
YY_BREAK
case 157:
YY_RULE_SETUP
{ yylval="struct" ; return(STRUCT); }
YY_BREAK
case 158:
YY_RULE_SETUP
{ yylval="switch" ; return(SWITCH); }
YY_BREAK
case 159:
YY_RULE_SETUP
{ yylval="typedef" ; return(TYPEDEF); }
YY_BREAK
case 160:
YY_RULE_SETUP
{ yylval="union" ; return(UNION); }
YY_BREAK
case 161:
YY_RULE_SETUP
{ yylval="unsigned"; return(UNSIGNED); }
YY_BREAK
case 162:
YY_RULE_SETUP
{ yylval="void" ; return(VOID); }
YY_BREAK
case 163:
YY_RULE_SETUP
{ yylval="volatile"; return(VOLATILE); }
YY_BREAK
case 164:
YY_RULE_SETUP
{ yylval="while" ; return(WHILE); }
YY_BREAK
/* C language operators. */
case 165:
YY_RULE_SETUP
{ yylval="..."; return(ELLIPSES); }
YY_BREAK
case 166:
YY_RULE_SETUP
{ yylval=">>="; return(RIGHT_ASSIGN); }
YY_BREAK
case 167:
YY_RULE_SETUP
{ yylval="<<="; return(LEFT_ASSIGN); }
YY_BREAK
case 168:
YY_RULE_SETUP
{ yylval="+="; return(ADD_ASSIGN); }
YY_BREAK
case 169:
YY_RULE_SETUP
{ yylval="-="; return(SUB_ASSIGN); }
YY_BREAK
case 170:
YY_RULE_SETUP
{ yylval="*="; return(MUL_ASSIGN); }
YY_BREAK
case 171:
YY_RULE_SETUP
{ yylval="/="; return(DIV_ASSIGN); }
YY_BREAK
case 172:
YY_RULE_SETUP
{ yylval="%="; return(MOD_ASSIGN); }
YY_BREAK
case 173:
YY_RULE_SETUP
{ yylval="&="; return(AND_ASSIGN); }
YY_BREAK
case 174:
YY_RULE_SETUP
{ yylval="^="; return(XOR_ASSIGN); }
YY_BREAK
case 175:
YY_RULE_SETUP
{ yylval="|="; return(OR_ASSIGN); }
YY_BREAK
case 176:
YY_RULE_SETUP
{ yylval=">>"; return(RIGHT_SHIFT);}
YY_BREAK
case 177:
YY_RULE_SETUP
{ yylval="<<"; return(LEFT_SHIFT); }
YY_BREAK
case 178:
YY_RULE_SETUP
{ yylval="++"; return(INC_OP); }
YY_BREAK
case 179:
YY_RULE_SETUP
{ yylval="--"; return(DEC_OP); }
YY_BREAK
case 180:
YY_RULE_SETUP
{ yylval="->"; return(PTR_OP); }
YY_BREAK
case 181:
YY_RULE_SETUP
{ yylval="&&"; return(AND_OP); }
YY_BREAK
case 182:
YY_RULE_SETUP
{ yylval="||"; return(OR_OP); }
YY_BREAK
case 183:
YY_RULE_SETUP
{ yylval="<="; return(LE_OP); }
YY_BREAK
case 184:
YY_RULE_SETUP
{ yylval=">="; return(GE_OP); }
YY_BREAK
case 185:
YY_RULE_SETUP
{ yylval="=="; return(EQ_OP); }
YY_BREAK
case 186:
YY_RULE_SETUP
{ yylval="!="; return(NE_OP); }
YY_BREAK
case 187:
YY_RULE_SETUP
{ yylval="; "; push_past=2;
comment_init_state=INITIAL; BEGIN(yytext[strlen(yytext)-1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 188:
YY_RULE_SETUP
{ yylval=";"; return(';'); }
YY_BREAK
case 189:
YY_RULE_SETUP
{ yylval="{"; return('{'); }
YY_BREAK
case 190:
YY_RULE_SETUP
{ yylval="}; "; push_past=3;
comment_init_state=INITIAL; BEGIN(yytext[strlen(yytext)-1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 191:
YY_RULE_SETUP
{ yylval="}, "; push_past=3;
comment_init_state=INITIAL; BEGIN(yytext[strlen(yytext)-1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 192:
YY_RULE_SETUP
{ yylval="}"; return('}'); }
YY_BREAK
case 193:
YY_RULE_SETUP
{ yylval=", "; push_past=2;
comment_init_state=INITIAL; BEGIN(yytext[strlen(yytext)-1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 194:
YY_RULE_SETUP
{ yylval=","; return(','); }
YY_BREAK
case 195:
YY_RULE_SETUP
{ yylval=":"; return(':'); }
YY_BREAK
case 196:
YY_RULE_SETUP
{ yylval="="; return('='); }
YY_BREAK
case 197:
YY_RULE_SETUP
{ yylval="("; return('('); }
YY_BREAK
case 198:
YY_RULE_SETUP
{ yylval=") "; push_past=2;
comment_init_state=INITIAL; BEGIN(yytext[strlen(yytext)-1]=='*'?START_COMMENT:START_COMMENT_CPP); }
YY_BREAK
case 199:
YY_RULE_SETUP
{ yylval=")"; return(')'); }
YY_BREAK
case 200:
YY_RULE_SETUP
{ yylval="["; return('['); }
YY_BREAK
case 201:
YY_RULE_SETUP
{ yylval="]"; return(']'); }
YY_BREAK
case 202:
YY_RULE_SETUP
{ yylval="."; return('.'); }
YY_BREAK
case 203:
YY_RULE_SETUP
{ yylval="&"; return('&'); }
YY_BREAK
case 204:
YY_RULE_SETUP
{ yylval="!"; return('!'); }
YY_BREAK
case 205:
YY_RULE_SETUP
{ yylval="~"; return('~'); }
YY_BREAK
case 206:
YY_RULE_SETUP
{ yylval="-"; return('-'); }
YY_BREAK
case 207:
YY_RULE_SETUP
{ yylval="+"; return('+'); }
YY_BREAK
case 208:
YY_RULE_SETUP
{ yylval="*"; return('*'); }
YY_BREAK
case 209:
YY_RULE_SETUP
{ yylval="/"; return('/'); }
YY_BREAK
case 210:
YY_RULE_SETUP
{ yylval="%"; return('%'); }
YY_BREAK
case 211:
YY_RULE_SETUP
{ yylval="<"; return('<'); }
YY_BREAK
case 212:
YY_RULE_SETUP
{ yylval=">"; return('>'); }
YY_BREAK
case 213:
YY_RULE_SETUP
{ yylval="^"; return('^'); }
YY_BREAK
case 214:
YY_RULE_SETUP
{ yylval="|"; return('|'); }
YY_BREAK
case 215:
YY_RULE_SETUP
{ yylval="?"; return('?'); }
YY_BREAK
/* Variable / Function / Type names */
case 216:
YY_RULE_SETUP
{
yylval=CopyString(yytext);
if(IsAScopeVariable(yytext))
return(IDENTIFIER);
else
if(IsATypeName(yytext))
return(TYPE_NAME);
else
return(IDENTIFIER);
}
YY_BREAK
/* Literals */
case 217:
YY_RULE_SETUP
{ yylval=CopyString(yytext); return(LITERAL); }
YY_BREAK
case 218:
YY_RULE_SETUP
{ yylval=CopyString(yytext); return(LITERAL); }
YY_BREAK
case 219:
YY_RULE_SETUP
{ yylval=CopyString(yytext); return(LITERAL); }
YY_BREAK
case 220:
YY_RULE_SETUP
{ yylval=CopyString(yytext); return(LITERAL); }
YY_BREAK
case 221:
YY_RULE_SETUP
{ yylval=CopyString(yytext); return(LITERAL); }
YY_BREAK
case 222:
YY_RULE_SETUP
{ yylval=CopyString(yytext); return(LITERAL); }
YY_BREAK
case 223:
YY_RULE_SETUP
{ yylval=CopyString(yytext); return(LITERAL); }
YY_BREAK
case 224:
YY_RULE_SETUP
{ yylval=CopyString(yytext); return(LITERAL); }
YY_BREAK
case 225:
YY_RULE_SETUP
{ yylval=CopyString(yytext); return(STRING_LITERAL); }
YY_BREAK
case 226:
YY_RULE_SETUP
{ yylval=CopyString(yytext); return(STRING_LITERAL); }
YY_BREAK
/* Other text. */
case 227:
YY_RULE_SETUP
{ parse_line++; }
YY_BREAK
case 228:
YY_RULE_SETUP
{ /* Ignore bad characters */ }
YY_BREAK
case 229:
YY_RULE_SETUP
ECHO;
YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(START_COMMENT):
case YY_STATE_EOF(COMMENT):
case YY_STATE_EOF(SPECIAL_COMMENT):
case YY_STATE_EOF(START_COMMENT_CPP):
case YY_STATE_EOF(COMMENT_CPP):
case YY_STATE_EOF(SPECIAL_COMMENT_CPP):
case YY_STATE_EOF(CPP):
case YY_STATE_EOF(CPP_START):
case YY_STATE_EOF(CPP_INCLUDE):
case YY_STATE_EOF(CPP_INC_FILE):
case YY_STATE_EOF(CPP_INC_FLAGS):
case YY_STATE_EOF(CPP_DEFINE):
case YY_STATE_EOF(CPP_DEFINE_ARGP):
case YY_STATE_EOF(CPP_DEFINE_BODY):
case YY_STATE_EOF(CPP_DEFINE_ARGS):
case YY_STATE_EOF(GNU_LABEL):
case YY_STATE_EOF(GNU_ATTRIBUTE):
case YY_STATE_EOF(GNU_EXTENSION):
case YY_STATE_EOF(GNU_TYPEOF):
yyterminate();
case YY_END_OF_BUFFER:
{
/* Amount of text matched not including the EOB char. */
int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
/* Undo the effects of YY_DO_BEFORE_ACTION. */
*yy_cp = yy_hold_char;
YY_RESTORE_YY_MORE_OFFSET
if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
{
/* We're scanning a new file or input source. It's
* possible that this happened because the user
* just pointed yyin at a new source and called
* yylex(). If so, then we have to assure
* consistency between yy_current_buffer and our
* globals. Here is the right place to do so, because
* this is the first action (other than possibly a
* back-up) that will match for the new input source.
*/
yy_n_chars = yy_current_buffer->yy_n_chars;
yy_current_buffer->yy_input_file = yyin;
yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
}
/* Note that here we test for yy_c_buf_p "<=" to the position
* of the first EOB in the buffer, since yy_c_buf_p will
* already have been incremented past the NUL character
* (since all states make transitions on EOB to the
* end-of-buffer state). Contrast this with the test
* in input().
*/
if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
{ /* This was really a NUL. */
yy_state_type yy_next_state;
yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state();
/* Okay, we're now positioned to make the NUL
* transition. We couldn't have
* yy_get_previous_state() go ahead and do it
* for us because it doesn't know how to deal
* with the possibility of jamming (and we don't
* want to build jamming into it because then it
* will run more slowly).
*/
yy_next_state = yy_try_NUL_trans( yy_current_state );
yy_bp = yytext_ptr + YY_MORE_ADJ;
if ( yy_next_state )
{
/* Consume the NUL. */
yy_cp = ++yy_c_buf_p;
yy_current_state = yy_next_state;
goto yy_match;
}
else
{
yy_cp = yy_c_buf_p;
goto yy_find_action;
}
}
else switch ( yy_get_next_buffer() )
{
case EOB_ACT_END_OF_FILE:
{
yy_did_buffer_switch_on_eof = 0;
if ( yywrap() )
{
/* Note: because we've taken care in
* yy_get_next_buffer() to have set up
* yytext, we can now set up
* yy_c_buf_p so that if some total
* hoser (like flex itself) wants to
* call the scanner after we return the
* YY_NULL, it'll still work - another
* YY_NULL will get returned.
*/
yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
yy_act = YY_STATE_EOF(YY_START);
goto do_action;
}
else
{
if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
}
break;
}
case EOB_ACT_CONTINUE_SCAN:
yy_c_buf_p =
yytext_ptr + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state();
yy_cp = yy_c_buf_p;
yy_bp = yytext_ptr + YY_MORE_ADJ;
goto yy_match;
case EOB_ACT_LAST_MATCH:
yy_c_buf_p =
&yy_current_buffer->yy_ch_buf[yy_n_chars];
yy_current_state = yy_get_previous_state();
yy_cp = yy_c_buf_p;
yy_bp = yytext_ptr + YY_MORE_ADJ;
goto yy_find_action;
}
break;
}
default:
YY_FATAL_ERROR(
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
} /* end of yylex */
/* yy_get_next_buffer - try to read in a new buffer
*
* Returns a code representing an action:
* EOB_ACT_LAST_MATCH -
* EOB_ACT_CONTINUE_SCAN - continue scanning from current position
* EOB_ACT_END_OF_FILE - end of file
*/
static int yy_get_next_buffer()
{
register char *dest = yy_current_buffer->yy_ch_buf;
register char *source = yytext_ptr;
register int number_to_move, i;
int ret_val;
if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
YY_FATAL_ERROR(
"fatal flex scanner internal error--end of buffer missed" );
if ( yy_current_buffer->yy_fill_buffer == 0 )
{ /* Don't try to fill the buffer, so this is an EOF. */
if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
{
/* We matched a single character, the EOB, so
* treat this as a final EOF.
*/
return EOB_ACT_END_OF_FILE;
}
else
{
/* We matched some text prior to the EOB, first
* process it.
*/
return EOB_ACT_LAST_MATCH;
}
}
/* Try to read more data. */
/* First move last chars to start of buffer. */
number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++);
if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
/* don't do the read, it's not guaranteed to return an EOF,
* just force an EOF
*/
yy_current_buffer->yy_n_chars = yy_n_chars = 0;
else
{
int num_to_read =
yy_current_buffer->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
#ifdef YY_USES_REJECT
YY_FATAL_ERROR(
"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
#else
/* just a shorter name for the current buffer */
YY_BUFFER_STATE b = yy_current_buffer;
int yy_c_buf_p_offset =
(int) (yy_c_buf_p - b->yy_ch_buf);
if ( b->yy_is_our_buffer )
{
int new_size = b->yy_buf_size * 2;
if ( new_size <= 0 )
b->yy_buf_size += b->yy_buf_size / 8;
else
b->yy_buf_size *= 2;
b->yy_ch_buf = (char *)
/* Include room in for 2 EOB chars. */
yy_flex_realloc( (void *) b->yy_ch_buf,
b->yy_buf_size + 2 );
}
else
/* Can't grow it, we don't own it. */
b->yy_ch_buf = 0;
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR(
"fatal error - scanner input buffer overflow" );
yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
num_to_read = yy_current_buffer->yy_buf_size -
number_to_move - 1;
#endif
}
if ( num_to_read > YY_READ_BUF_SIZE )
num_to_read = YY_READ_BUF_SIZE;
/* Read in more data. */
YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
yy_n_chars, num_to_read );
yy_current_buffer->yy_n_chars = yy_n_chars;
}
if ( yy_n_chars == 0 )
{
if ( number_to_move == YY_MORE_ADJ )
{
ret_val = EOB_ACT_END_OF_FILE;
yyrestart( yyin );
}
else
{
ret_val = EOB_ACT_LAST_MATCH;
yy_current_buffer->yy_buffer_status =
YY_BUFFER_EOF_PENDING;
}
}
else
ret_val = EOB_ACT_CONTINUE_SCAN;
yy_n_chars += number_to_move;
yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
return ret_val;
}
/* yy_get_previous_state - get the state just before the EOB char was reached */
static yy_state_type yy_get_previous_state()
{
register yy_state_type yy_current_state;
register char *yy_cp;
yy_current_state = yy_start;
yy_state_ptr = yy_state_buf;
*yy_state_ptr++ = yy_current_state;
for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
{
register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 711 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
*yy_state_ptr++ = yy_current_state;
}
return yy_current_state;
}
/* yy_try_NUL_trans - try to make a transition on the NUL character
*
* synopsis
* next_state = yy_try_NUL_trans( current_state );
*/
#ifdef YY_USE_PROTOS
static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
#else
static yy_state_type yy_try_NUL_trans( yy_current_state )
yy_state_type yy_current_state;
#endif
{
register int yy_is_jam;
register YY_CHAR yy_c = 1;
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 711 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_is_jam = (yy_current_state == 710);
if ( ! yy_is_jam )
*yy_state_ptr++ = yy_current_state;
return yy_is_jam ? 0 : yy_current_state;
}
#ifndef YY_NO_UNPUT
#ifdef YY_USE_PROTOS
static void yyunput( int c, register char *yy_bp )
#else
static void yyunput( c, yy_bp )
int c;
register char *yy_bp;
#endif
{
register char *yy_cp = yy_c_buf_p;
/* undo effects of setting up yytext */
*yy_cp = yy_hold_char;
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
{ /* need to shift things up to make room */
/* +2 for EOB chars. */
register int number_to_move = yy_n_chars + 2;
register char *dest = &yy_current_buffer->yy_ch_buf[
yy_current_buffer->yy_buf_size + 2];
register char *source =
&yy_current_buffer->yy_ch_buf[number_to_move];
while ( source > yy_current_buffer->yy_ch_buf )
*--dest = *--source;
yy_cp += (int) (dest - source);
yy_bp += (int) (dest - source);
yy_current_buffer->yy_n_chars =
yy_n_chars = yy_current_buffer->yy_buf_size;
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
YY_FATAL_ERROR( "flex scanner push-back overflow" );
}
*--yy_cp = (char) c;
yytext_ptr = yy_bp;
yy_hold_char = *yy_cp;
yy_c_buf_p = yy_cp;
}
#endif /* ifndef YY_NO_UNPUT */
#ifdef __cplusplus
static int yyinput()
#else
static int input()
#endif
{
int c;
*yy_c_buf_p = yy_hold_char;
if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
{
/* yy_c_buf_p now points to the character we want to return.
* If this occurs *before* the EOB characters, then it's a
* valid NUL; if not, then we've hit the end of the buffer.
*/
if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
/* This was really a NUL. */
*yy_c_buf_p = '\0';
else
{ /* need more input */
int offset = yy_c_buf_p - yytext_ptr;
++yy_c_buf_p;
switch ( yy_get_next_buffer() )
{
case EOB_ACT_LAST_MATCH:
/* This happens because yy_g_n_b()
* sees that we've accumulated a
* token and flags that we need to
* try matching the token before
* proceeding. But for input(),
* there's no matching to consider.
* So convert the EOB_ACT_LAST_MATCH
* to EOB_ACT_END_OF_FILE.
*/
/* Reset buffer status. */
yyrestart( yyin );
/* fall through */
case EOB_ACT_END_OF_FILE:
{
if ( yywrap() )
return EOF;
if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
#ifdef __cplusplus
return yyinput();
#else
return input();
#endif
}
case EOB_ACT_CONTINUE_SCAN:
yy_c_buf_p = yytext_ptr + offset;
break;
}
}
}
c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
*yy_c_buf_p = '\0'; /* preserve yytext */
yy_hold_char = *++yy_c_buf_p;
return c;
}
#ifdef YY_USE_PROTOS
void yyrestart( FILE *input_file )
#else
void yyrestart( input_file )
FILE *input_file;
#endif
{
if ( ! yy_current_buffer )
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
yy_init_buffer( yy_current_buffer, input_file );
yy_load_buffer_state();
}
#ifdef YY_USE_PROTOS
void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
#else
void yy_switch_to_buffer( new_buffer )
YY_BUFFER_STATE new_buffer;
#endif
{
if ( yy_current_buffer == new_buffer )
return;
if ( yy_current_buffer )
{
/* Flush out information for old buffer. */
*yy_c_buf_p = yy_hold_char;
yy_current_buffer->yy_buf_pos = yy_c_buf_p;
yy_current_buffer->yy_n_chars = yy_n_chars;
}
yy_current_buffer = new_buffer;
yy_load_buffer_state();
/* We don't actually know whether we did this switch during
* EOF (yywrap()) processing, but the only time this flag
* is looked at is after yywrap() is called, so it's safe
* to go ahead and always set it.
*/
yy_did_buffer_switch_on_eof = 1;
}
#ifdef YY_USE_PROTOS
void yy_load_buffer_state( void )
#else
void yy_load_buffer_state()
#endif
{
yy_n_chars = yy_current_buffer->yy_n_chars;
yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
yyin = yy_current_buffer->yy_input_file;
yy_hold_char = *yy_c_buf_p;
}
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
#else
YY_BUFFER_STATE yy_create_buffer( file, size )
FILE *file;
int size;
#endif
{
YY_BUFFER_STATE b;
b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_buf_size = size;
/* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters.
*/
b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_is_our_buffer = 1;
yy_init_buffer( b, file );
return b;
}
#ifdef YY_USE_PROTOS
void yy_delete_buffer( YY_BUFFER_STATE b )
#else
void yy_delete_buffer( b )
YY_BUFFER_STATE b;
#endif
{
if ( ! b )
return;
if ( b == yy_current_buffer )
yy_current_buffer = (YY_BUFFER_STATE) 0;
if ( b->yy_is_our_buffer )
yy_flex_free( (void *) b->yy_ch_buf );
yy_flex_free( (void *) b );
}
#ifndef YY_ALWAYS_INTERACTIVE
#ifndef YY_NEVER_INTERACTIVE
extern int isatty YY_PROTO(( int ));
#endif
#endif
#ifdef YY_USE_PROTOS
void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
#else
void yy_init_buffer( b, file )
YY_BUFFER_STATE b;
FILE *file;
#endif
{
yy_flush_buffer( b );
b->yy_input_file = file;
b->yy_fill_buffer = 1;
#if YY_ALWAYS_INTERACTIVE
b->yy_is_interactive = 1;
#else
#if YY_NEVER_INTERACTIVE
b->yy_is_interactive = 0;
#else
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
#endif
#endif
}
#ifdef YY_USE_PROTOS
void yy_flush_buffer( YY_BUFFER_STATE b )
#else
void yy_flush_buffer( b )
YY_BUFFER_STATE b;
#endif
{
if ( ! b )
return;
b->yy_n_chars = 0;
/* We always need two end-of-buffer characters. The first causes
* a transition to the end-of-buffer state. The second causes
* a jam in that state.
*/
b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
b->yy_buf_pos = &b->yy_ch_buf[0];
b->yy_at_bol = 1;
b->yy_buffer_status = YY_BUFFER_NEW;
if ( b == yy_current_buffer )
yy_load_buffer_state();
}
#ifndef YY_NO_SCAN_BUFFER
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
#else
YY_BUFFER_STATE yy_scan_buffer( base, size )
char *base;
yy_size_t size;
#endif
{
YY_BUFFER_STATE b;
if ( size < 2 ||
base[size-2] != YY_END_OF_BUFFER_CHAR ||
base[size-1] != YY_END_OF_BUFFER_CHAR )
/* They forgot to leave room for the EOB's. */
return 0;
b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
b->yy_buf_pos = b->yy_ch_buf = base;
b->yy_is_our_buffer = 0;
b->yy_input_file = 0;
b->yy_n_chars = b->yy_buf_size;
b->yy_is_interactive = 0;
b->yy_at_bol = 1;
b->yy_fill_buffer = 0;
b->yy_buffer_status = YY_BUFFER_NEW;
yy_switch_to_buffer( b );
return b;
}
#endif
#ifndef YY_NO_SCAN_STRING
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
#else
YY_BUFFER_STATE yy_scan_string( yy_str )
yyconst char *yy_str;
#endif
{
int len;
for ( len = 0; yy_str[len]; ++len )
;
return yy_scan_bytes( yy_str, len );
}
#endif
#ifndef YY_NO_SCAN_BYTES
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
#else
YY_BUFFER_STATE yy_scan_bytes( bytes, len )
yyconst char *bytes;
int len;
#endif
{
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
int i;
/* Get memory for full buffer, including space for trailing EOB's. */
n = len + 2;
buf = (char *) yy_flex_alloc( n );
if ( ! buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
for ( i = 0; i < len; ++i )
buf[i] = bytes[i];
buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
b = yy_scan_buffer( buf, n );
if ( ! b )
YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
/* It's okay to grow etc. this buffer, and we should throw it
* away when we're done.
*/
b->yy_is_our_buffer = 1;
return b;
}
#endif
#ifndef YY_NO_PUSH_STATE
#ifdef YY_USE_PROTOS
static void yy_push_state( int new_state )
#else
static void yy_push_state( new_state )
int new_state;
#endif
{
if ( yy_start_stack_ptr >= yy_start_stack_depth )
{
yy_size_t new_size;
yy_start_stack_depth += YY_START_STACK_INCR;
new_size = yy_start_stack_depth * sizeof( int );
if ( ! yy_start_stack )
yy_start_stack = (int *) yy_flex_alloc( new_size );
else
yy_start_stack = (int *) yy_flex_realloc(
(void *) yy_start_stack, new_size );
if ( ! yy_start_stack )
YY_FATAL_ERROR(
"out of memory expanding start-condition stack" );
}
yy_start_stack[yy_start_stack_ptr++] = YY_START;
BEGIN(new_state);
}
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state()
{
if ( --yy_start_stack_ptr < 0 )
YY_FATAL_ERROR( "start-condition stack underflow" );
BEGIN(yy_start_stack[yy_start_stack_ptr]);
}
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state()
{
return yy_start_stack[yy_start_stack_ptr - 1];
}
#endif
#ifndef YY_EXIT_FAILURE
#define YY_EXIT_FAILURE 2
#endif
#ifdef YY_USE_PROTOS
static void yy_fatal_error( yyconst char msg[] )
#else
static void yy_fatal_error( msg )
char msg[];
#endif
{
(void) fprintf( stderr, "%s\n", msg );
exit( YY_EXIT_FAILURE );
}
/* Redefine yyless() so it works in section 3 code. */
#undef yyless
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
yytext[yyleng] = yy_hold_char; \
yy_c_buf_p = yytext + n; \
yy_hold_char = *yy_c_buf_p; \
*yy_c_buf_p = '\0'; \
yyleng = n; \
} \
while ( 0 )
/* Internal utility routines. */
#ifndef yytext_ptr
#ifdef YY_USE_PROTOS
static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
#else
static void yy_flex_strncpy( s1, s2, n )
char *s1;
yyconst char *s2;
int n;
#endif
{
register int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
#endif
#ifdef YY_NEED_STRLEN
#ifdef YY_USE_PROTOS
static int yy_flex_strlen( yyconst char *s )
#else
static int yy_flex_strlen( s )
yyconst char *s;
#endif
{
register int n;
for ( n = 0; s[n]; ++n )
;
return n;
}
#endif
#ifdef YY_USE_PROTOS
static void *yy_flex_alloc( yy_size_t size )
#else
static void *yy_flex_alloc( size )
yy_size_t size;
#endif
{
return (void *) malloc( size );
}
#ifdef YY_USE_PROTOS
static void *yy_flex_realloc( void *ptr, yy_size_t size )
#else
static void *yy_flex_realloc( ptr, size )
void *ptr;
yy_size_t size;
#endif
{
/* The cast to (char *) in the following accommodates both
* implementations that use char* generic pointers, and those
* that use void* generic pointers. It works with the latter
* because both ANSI C and C++ allow castless assignment from
* any pointer type to void*, and deal with argument conversions
* as though doing an assignment.
*/
return (void *) realloc( (char *) ptr, size );
}
#ifdef YY_USE_PROTOS
static void yy_flex_free( void *ptr )
#else
static void yy_flex_free( ptr )
void *ptr;
#endif
{
free( ptr );
}
#if YY_MAIN
int main()
{
yylex();
return 0;
}
#endif